PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro How Do I...? (http://www.photopost.com/forum/photopost-pro-how-do-i/)
-   -   Another ? ubb code (http://www.photopost.com/forum/photopost-pro-how-do-i/149033-another-ubb-code.html)

SunnyQ December 14th, 2012 03:06 AM

Another ? ubb code
 
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.

Quote:

No worries, thanks &amp; congrats!. <br>
My interest was including it in our new (Message - Backyard Poultry Photo Gallery) <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.

Chuck S December 14th, 2012 07:41 AM

There should be a help link

The bbcodes that work are these

Smilies Legend

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.

SunnyQ December 14th, 2012 11:26 AM

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

Chuck S December 14th, 2012 02: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.

SunnyQ December 15th, 2012 06: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?

echo<<<PPPRINT
<tr>
<td class="$Style[tddetails]">
$pplang[addyour]:<br /><br />
<span class="$Style[small]"><a href="javascript:PopUpHelp('help/ubbcode.php')">$pplang[bbcode]</a><br />
<a href="javascript:PopUpHelp('help/smilies.php')">$pplang[smilies]</a></span>
</td>

Chuck S December 15th, 2012 07:08 PM

How about in the quickcom template you add after the statement $pplang[addcomment]

You add this

Code:

Content visible to verified customers only.

SunnyQ December 15th, 2012 07: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?

Chuck S December 15th, 2012 08:01 PM

well you would have to alter templating accordingly to however you wish for it to display I guess.

SunnyQ December 15th, 2012 09: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.

<br /><a href="javascript:PopUpHelp('help/smilies.php')">$pplang[smilies]</a>
<br /><a href="javascript:PopUpHelp('help/ubbcode.php')">$pplang[ubbcode]</a>

I appreciate the help Chuck. :)

Chuck S December 15th, 2012 09:42 PM

yep everyone has there own ideas. ;)


All times are GMT -5. The time now is 06:02 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97