Hey, welcome to ZBCode, the premier coding forum for ZB. Here you fill find some of the best Invisionfree and Zetaboards Codes on the network! Unfortunately, you're sorta hovering around in guest mode at the moment; why not join in on the fun? Register an account and you can start accessing the wealth of resources we have available here. Enjoy your stay at ZBCode, and remember to tell all your friends about us; the more members, the more codes available. ![]() Interested in joining? Click here. If you are already a member of ZBCode, feel free to login right here: |
| [Completed] [ZB] Color Code in shoutbox | |
|---|---|
| Topic Started: Dec 6 2009, 08:29 PM (418 Views) | |
| Angel Pie | Dec 6 2009, 08:29 PM Post #1 |
![]()
|
I came across this particular code: http://support.zetaboards.com/topic/282298/1/?x=20#new and I was wondering if it could be possible to allow this code to also work in Zetaboard's built-in shoutbox. For example, I would not have to type any bbcododes in if they are already set...in order to do this I would have to go into my profile and add some type of code like
|
![]() |
|
| RedBldSandman | Dec 7 2009, 06:17 PM Post #2 |
![]()
ZIPPY!
![]()
|
Try this:WARNING: Will use 1 extra ad-credit the first time you post in the shoutbox on each page! To set it up, just place that code anywhere in the board template and then make a Profile Field (1 line text) called ShoutboxBBCodes which is not Admin Only Edit. To set the BBcodes you wish to use, just go to the Update Profile page and type in the BBcodes you wish to use with !post! where you wish the Post to go so, to get red and bold posts, you'd do this: You could even use it to add begginings and endings to your post such as: Hope you like it, if there are any bugs just say and I'll sort them out. I could have used the Zetaboards shout functions themselves instead but I thought I'd have a bit of fun and it worked better then using the Zeta functions since I could add in some stuff
|
![]() "To iterate is human, to recurse divine." | |
![]() |
|
| Angel Pie | Dec 7 2009, 07:26 PM Post #3 |
![]()
|
Hmm,when I post in the shoutbox it says "undefined" and it does not show the bbcodes I placed into my profile field. |
![]() |
|
| RedBldSandman | Dec 8 2009, 04:50 PM Post #4 |
![]()
ZIPPY!
![]()
|
Try this instead:Could I have a link to your board as well? Both versions seem to work perfectly on my test board (though this version has some improvements)
|
![]() "To iterate is human, to recurse divine." | |
![]() |
|
| Angel Pie | Dec 8 2009, 11:11 PM Post #5 |
![]()
|
Unfortunately, I got the same thing again. |
![]() |
|
| RedBldSandman | Dec 9 2009, 02:16 PM Post #6 |
![]()
ZIPPY!
![]()
|
All done, the Profile Field was incorrectly named but it's all sorted now ![]() You're welcome. See? We can read thoughts too. ;) Your request has been completed, and we're moving it to the correct forum. We hope it works for you; if it doesn't, feel free to post another request topic in the requests forum. Just remember: read the rules first! Thanks, The ZBCode Staff |
![]() "To iterate is human, to recurse divine." | |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| « Previous Topic · Completed Requests · Next Topic » |

















5:29 PM Sep 3