View Full Version : Another ? ubb code
December 14th, 2012, 04:06 AM
I'm still working through things here. Sorry - another question.
What ubb codes work in the comments?
My gallery mod is trying to use them and getting this type of thing coming up when editing. This looks more like html to me. I'm confused about what should work.
No worries, thanks & congrats!. <br>
My interest was including it in our new (Message - Backyard Poultry Photo Gallery (http://gallery.backyardpoultry.com/showgallery.php?cat=753)) <span style="font-weight:bold">Poultry Gatherings</span> category of the <span style="font-weight:bold">Gallery</span>. <img src="http://gallery.backyardpoultry.com/images/smile.gif" alt="Smile">
OOps obviously having hassles with the bbcode here. <img src="http://gallery.backyardpoultry.com/images/tounge_smile.gif" alt="Nah!">
Can you direct me to some instructions on what ubb codes will work there in the comments?
Also, the bbcode and smiley box used to be beside the comment box, but since upgrading the software it's not there any more.
December 14th, 2012, 08:41 AM
There should be a help link
The bbcodes that work are these
Smilies Legend (http://gallery.backyardpoultry.com/help/ubbcode.php)
I am not aware of any type of smilie box being on a non vb integrated version and you are not using vb. There should be just a comment box.
December 14th, 2012, 12:26 PM
Thank you. That's helpful.
Is it normal that when you edit a comment you are looking at html instead of the ubb codes? It's very hard for people to do edits like that. Sometimes when you edit, the correct codes don't produce the smilie or the result you want. It just displays as text. You have to delete the comment box and use a new one. Is that how it normally works?
Our previous installation must have been modified to include the ubb & smilie box on the posting screen.
Any reason why the colour code [color:red] tag wouldn't be working? I tried a few here: gallery.backyardpoultry.com/showphoto.php?photo=67493
December 14th, 2012, 03:10 PM
well the ajax editor is new so that could attribute to viewing things different but can not comment further without finding an older version and trying it out. what is stored in the database is html because once you use bbcode we translate it to html.
December 15th, 2012, 07:55 PM
I'm just thinking about how to get some sort of ubb/smilies help popup added for users, so am looking at comments.tmpl
What is this part for? I am a newbie at this but at first glance it looks like there is some sort of help pop-up, or is this something else?
$pplang[addyour]:<br /><br />
December 15th, 2012, 08:08 PM
How about in the quickcom template you add after the statement $pplang[addcomment]
You add this
December 15th, 2012, 08:17 PM
That works. Thanks.
To avoid having to click another link as well, is it possible to get the ubb codes and the smilies displaying on that help/comments.php?
December 15th, 2012, 09:01 PM
well you would have to alter templating accordingly to however you wish for it to display I guess.
December 15th, 2012, 10:07 PM
Thanks for the tips, Chuck.
I altered the pop-up to use the smilies file and then copied it and added a separate pop-up for the ubbcode. It works for what I want that way.
I appreciate the help Chuck. :)
December 15th, 2012, 10:42 PM
yep everyone has there own ideas. ;)
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.