The Joomla! Forum ™



Forum rules


Global Rules
Additional Rules for this forum <------- Please read before posting



Post new topic Reply to topic  [ 180 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6
Author Message
PostPosted: Wed Mar 16, 2011 3:44 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Nov 03, 2009 11:04 am
Posts: 14
risp wrote:

I think this code does what you want. It works for Joomla 1.6. Not sure for Joomla 1.5 as I only tested on Mootool 1.3

Code:
function yvBBCodeReplaceText(ControlID, tag) {
   sel = ControlID.getSelectedText();
   pos = ControlID.getSelectionEnd();
   ControlID.insertAroundCursor({before: '['+tag+']', after: '[/'+tag+']'});
   if(sel != '') {
      ControlID.setCaretPosition(pos + tag.length*2+5);
   }
}


I tried writing the code in site/plugins/system/yvbbcode/default.js - but nothing happens so I guess it doesn't work with joomla 1.5. - but thanks anyway :)

J.


Top
 Profile  
 
PostPosted: Wed Mar 23, 2011 8:57 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Aug 28, 2008 9:10 am
Posts: 13
I like the plugin, because I want to use [br] in my menu titles and it does that great. But, I see these [br] also back in my breadcrumbs :-( So it looks like I have the option to show [br] there or have a breadcrumb divided over two lines. Both are not an option for me, so I had to stop using this plugin. Hope there's a solution.


Top
 Profile  
 
PostPosted: Mon Apr 11, 2011 10:27 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Tue Mar 01, 2011 10:26 pm
Posts: 2
Hello,
I have joomla version 1.5.22 and I want to install yvBBCodePlugin-2.01.000, but I always get the message "Error: Could not find XML setup file in this package!"

What am I doing wrong?

Thank you.


Top
 Profile  
 
PostPosted: Tue Apr 12, 2011 2:19 am 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Thu Jun 01, 2006 1:52 pm
Posts: 974
Location: Moscow, Russia
yvBBCode v.2.x is for Joomla v.1.6 only.
For Joomla v.1.5 please use
yvBBCode v.1.x

_________________
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html


Top
 Profile  
 
PostPosted: Tue Apr 12, 2011 9:17 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Tue Mar 01, 2011 10:26 pm
Posts: 2
yvolk wrote:
yvBBCode v.2.x is for Joomla v.1.6 only.
For Joomla v.1.5 please use
yvBBCode v.1.x


It was my fault.
Yuri, thank you. Good job :)


Top
 Profile  
 
PostPosted: Wed Apr 20, 2011 11:29 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Dec 24, 2008 7:31 pm
Posts: 18
Location: Sydney, Australia
Is there a way to make an article title an anchor?

e.g. [anchor=id]My Title[/anchor]

_________________
Richard Pearce
Free Joomla video tutorials for beginners
http://www.BuildAJoomlaWebsite.com


Top
 Profile  
 
PostPosted: Thu Apr 21, 2011 6:22 am 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Thu Jun 01, 2006 1:52 pm
Posts: 974
Location: Moscow, Russia
RichardPearce wrote:
Is there a way to make an article title an anchor?
e.g. [anchor=id]My Title[/anchor]

I think what you really need should be done by customizing Templates, and not by something like yvBBCode, because:
- HTML "id" attribute should be unique for the whole HTML page;
- If the same Article title appears in several places on the same page (e.g. in "Latest news", Breadcrumbs, Blog...), only You (Site designer...) know single place where it should be put.
- yvBBCode (and any other similar tool) acts at the [] element level, it doesn't analyze the whole page while making single substitution.

What yvBBCode CAN do is create links to the Articles by their IDs e.g.
[contentid=25]My article[/contentid]
will be changed to the <a> HTML element.

_________________
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html


Top
 Profile  
 
PostPosted: Wed May 11, 2011 10:04 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue May 10, 2011 10:07 am
Posts: 17
yvolk wrote:
So it looks like the "1"s appear from the fact that yvBBCode plugin's code is being initialized. So the problem lies somewhere in the 'plugins\system\yvbbcode\yvbbcode.php' file.
I can not reproduce the problem, so it's up to you to debug this.

TIP: the "onContentAfterTitle" function is being called by Joomla! core for each article. (That function has local "$debug" variable for it's debugging...)


I have the same problem with "1"s in Joomla 1.6. Could you please help me to fix it since I don't understand these directions? I'm not a developer and don't know php :-[


Top
 Profile  
 
PostPosted: Wed May 11, 2011 10:35 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed May 11, 2011 8:19 am
Posts: 6
yvBBCode is a BBCode extension for Joomla! 1.5. GPL licensed.

_________________
www.sultanahmetshuttle.com


Top
 Profile  
 
PostPosted: Wed May 11, 2011 10:39 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue May 10, 2011 10:07 am
Posts: 17
Is this the page of this extension?
http://yurivolkov.com/Joomla/yvBBCode/index_en.html

There it says that yvBBCode is a BBCode extension for Joomla! 1.6.


Top
 Profile  
 
PostPosted: Thu May 12, 2011 2:57 pm 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Thu Jun 01, 2006 1:52 pm
Posts: 974
Location: Moscow, Russia
Haati wrote:
yvolk wrote:
So it looks like the "1"s appear from the fact that yvBBCode plugin's code is being initialized. So the problem lies somewhere in the 'plugins\system\yvbbcode\yvbbcode.php' file.
I can not reproduce the problem, so it's up to you to debug this.

TIP: the "onContentAfterTitle" function is being called by Joomla! core for each article. (That function has local "$debug" variable for it's debugging...)


I have the same problem with "1"s in Joomla 1.6. Could you please help me to fix it since I don't understand these directions? I'm not a developer and don't know php :-[

Hi, I've fixed this issue in yvBBCode v.2.01.001, see discussion here.

_________________
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html


Top
 Profile  
 
PostPosted: Fri May 13, 2011 4:54 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed May 11, 2011 8:19 am
Posts: 6
thnak u very much u are so kind

_________________
www.sultanahmetshuttle.com


Top
 Profile  
 
PostPosted: Mon May 16, 2011 7:43 am 
User avatar
Joomla! Intern
Joomla! Intern

Joined: Thu Oct 09, 2008 4:34 pm
Posts: 86
Location: Croatia
Iam getting this error:
Fatal error: Cannot redeclare _pear_call_destructors() (previously declared in /home/bavariad/public_html/libraries/pear/PEAR.php:773) in /usr/lib/php/PEAR.php on line 777
when trying to use extplorer, if I disable the yyBBcode plugin then it works and the message doesnt appear. I have tried to delete the content of the pear.php file inside administrator/components/com_extplorer/libriaries folder but that renders another problems...
any help on this please?
thank you in advance

_________________
http://www.johnnie.hr/


Top
 Profile  
 
PostPosted: Mon May 16, 2011 7:46 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed May 11, 2011 8:19 am
Posts: 6
thank u for answer

_________________
www.sultanahmetshuttle.com


Top
 Profile  
 
PostPosted: Mon May 16, 2011 7:50 am 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Thu Jun 01, 2006 1:52 pm
Posts: 974
Location: Moscow, Russia
johnniek2 wrote:
Iam getting this error:
Fatal error: Cannot redeclare _pear_call_destructors() (previously declared in /home/bavariad/public_html/libraries/pear/PEAR.php:773) in /usr/lib/php/PEAR.php on line 777
when trying to use extplorer, if I disable the yyBBcode plugin then it works and the message doesnt appear. I have tried to delete the content of the pear.php file inside administrator/components/com_extplorer/libriaries folder but that renders another problems...
any help on this please?
thank you in advance

Hi,
1. This problem was discussed in this thread - please search this thread.
2. yvBBCode v.2 (for Joomla! 1.6) doesn't depend on PEAR, so it's free of this problem...

_________________
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html


Top
 Profile  
 
PostPosted: Mon May 16, 2011 7:56 am 
User avatar
Joomla! Intern
Joomla! Intern

Joined: Thu Oct 09, 2008 4:34 pm
Posts: 86
Location: Croatia
I could found only description for virtuemart I can not find location of require_once or include_once for extplorer? could you please give me a hint?

_________________
http://www.johnnie.hr/


Top
 Profile  
 
PostPosted: Mon May 16, 2011 8:06 am 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Thu Jun 01, 2006 1:52 pm
Posts: 974
Location: Moscow, Russia
johnniek2 wrote:
I could found only description for virtuemart I can not find location of require_once or include_once for extplorer? could you please give me a hint?

I think the problem is the same, so my advice for virtuemart applies for any other app... I think :-)

_________________
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html


Top
 Profile  
 
PostPosted: Mon May 16, 2011 8:27 am 
User avatar
Joomla! Intern
Joomla! Intern

Joined: Thu Oct 09, 2008 4:34 pm
Posts: 86
Location: Croatia
the problem is I cant find any file that contains this code?
i have tried to find the index.php file as well in the plugins/system/ folder but it isnt here?
this is a version of bamboo altered code YYBBB....

but they say its not up to them :-(

could you give me just a better direction where exactly I could find this code? that I need to change?


You do not have the required permissions to view the files attached to this post.

_________________
http://www.johnnie.hr/


Top
 Profile  
 
PostPosted: Mon May 16, 2011 10:48 am 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Thu Jun 01, 2006 1:52 pm
Posts: 974
Location: Moscow, Russia
@johnniek2 We're lucky that we know where reference to the PEAR in yvBBCode is :)
So as a workaround you may try to comment out this line in yvbbcode.php:
Code:
jimport('pear.PEAR');

_________________
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html


Top
 Profile  
 
PostPosted: Mon May 16, 2011 1:09 pm 
User avatar
Joomla! Intern
Joomla! Intern

Joined: Thu Oct 09, 2008 4:34 pm
Posts: 86
Location: Croatia
Ok, here I have found only this one the altered bamboo code: yybbb.php,
after I have commented out the line jimport('pear.PEAR');

now I start getting errors in every area of the control panel, wherever I click I get:

Fatal error: Class 'PEAR' not found in /home/bavariad/public_html/plugins/system/jbbbcode/BBCodeParser.php on line 170

any idea whats going on? :'(

_________________
http://www.johnnie.hr/


Top
 Profile  
 
PostPosted: Mon May 16, 2011 1:34 pm 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Thu Jun 01, 2006 1:52 pm
Posts: 974
Location: Moscow, Russia
johnniek2 wrote:
Ok, here I have found only this one the altered bamboo code: yybbb.php,
after I have commented out the line jimport('pear.PEAR');

now I start getting errors in every area of the control panel, wherever I click I get:

Fatal error: Class 'PEAR' not found in /home/bavariad/public_html/plugins/system/jbbbcode/BBCodeParser.php on line 170

any idea whats going on? :'(

The problem is that PEAR is used before it is declared. It looks like yvBBCode is being initialized earlier than in other extension(s) that use PEAR...

You have another option :-)
Please see how dependency on PEAR was removed in yvBBCode v.2. and apply the same changes to yvBBCode v.1.X ... (&PEAR::getStaticProperty was replaces with some simple embedded function...)

_________________
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html


Top
 Profile  
 
PostPosted: Mon May 16, 2011 2:46 pm 
User avatar
Joomla! Intern
Joomla! Intern

Joined: Thu Oct 09, 2008 4:34 pm
Posts: 86
Location: Croatia
you talk to me like Iam a programer :-(
where can I see that code? by downloading and opening the plugin locally?

_________________
http://www.johnnie.hr/


Top
 Profile  
 
PostPosted: Mon May 23, 2011 6:29 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Mon May 23, 2011 6:18 pm
Posts: 1
Hi. I now this is an old thread, but I would appreciate it if someone could provide an answer to my question: I am using Joomla 1.5 with the MilkyWay (Andy Miller) template. I am trying to have the top menu's items display on two rows, so I installed the yvbbcode plugin, as suggested on this forum. The [br] command is working, but the second line is displayed way below, outside the button's area, and slightly indented, as if it was creating a new paragraph. I believe this is not caused by yvBBCode, but rather by the template, does anyone has a workaround? I am an IT guy, but have very little experience with webpage design.

Regards;
JGCBAIZ


Top
 Profile  
 
PostPosted: Fri Dec 30, 2011 12:43 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Jun 10, 2010 6:33 am
Posts: 46
I use yvbbcode and reading through the threads, spent hours...

Anybody got a solution for:

Menu Items that breaks the breadcrumb.

Ie:

Home[br]Back to base[/br]

Breadcrumb: Home
Back to base

Anybody got a solution? A real solution without reading through the entire thread again.

Got the latest version of yvbbcode and joomla 1.7


Top
 Profile  
 
PostPosted: Tue Jan 10, 2012 2:20 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sun Jul 22, 2007 7:34 pm
Posts: 15
Is yvBBCode work correctly on 1.7 and will be supported on 2.5 ? Thanks :)


Top
 Profile  
 
PostPosted: Tue Jan 24, 2012 11:40 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Jul 14, 2008 6:45 pm
Posts: 47
Location: San Francisco, CA
Yuri, I am writing to get some help if you can. I am installing your v1.6 on my j1.7.3 but I am getting XML error and won't install.
viewtopic.php?f=628&t=690358

If you can assist, or is this version also for j1.7 ?


Top
 Profile  
 
PostPosted: Wed Jan 25, 2012 6:19 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Jul 14, 2008 6:45 pm
Posts: 47
Location: San Francisco, CA
mauderific wrote:
Is yvBBCode work correctly on 1.7 and will be supported on 2.5 ? Thanks :)


Hi - I don't think it works on J1.7. It won't install on j1.7 and getting XML error. See my question above me. I have yet to get a response but seems mu question on this forum is falling on deaf ears..
Thank you.


Top
 Profile  
 
PostPosted: Fri Jul 06, 2012 4:28 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Apr 12, 2010 1:19 pm
Posts: 5
Hi all,

i need to use blink function on single menu point in menu bar, it`s any possibility to include blink function? I have Joomla 2.5.
Thanks.


Top
 Profile  
 
PostPosted: Sat Jul 28, 2012 6:09 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Sat Jul 28, 2012 6:02 pm
Posts: 1
I am a trying my damndest to figure this plugin it does not seem to be working for me, I have gone through all the steps, I jsut don't bloody know how to get this code into an article, I am using JCE editor and running Joomla 2.5.

Here is the code I want to embed in one of my articles, what exactly do I have to do? I am sure I am missing some simple thing, Please help!

<script src="https://www-sgw-opensocial.googleusercontent.com/gadgets/ifr?url=https%3A%2F%2Fstoregadgetwizard.appspot.com%2Fservlets%2FgadgetServlet%3Fkey%3D0Ajapa3bWX8sgdGlobl9BbklqZVIwS054c2RfWjJKUWc%26mid%3D773520398966139%26currency%3DUSD%26sandbox%3Dfalse%26gadget%3DLARGE&amp;container=storegadgetwizard&amp;w=600&amp;h=500&amp;title=&amp;brand=none&amp;output=js"></script>

Thanks


Top
 Profile  
 
PostPosted: Thu Nov 15, 2012 7:20 pm 
Joomla! Intern
Joomla! Intern

Joined: Sat Feb 27, 2010 1:05 pm
Posts: 70
Location: Gentofte
I use the [br] command in my horisontal menu it has a stroke line in the bottom of the menu and the menu item change color when hovered but only for the upper part ie. before [br] how do I make the hover color cover the whole menu item? not to mention keep the menu items over the linestroke.

_________________
DBH/BR
Villy


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 180 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6



Who is online

Users browsing this forum: No registered users and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group