Previous Thread
Next Thread
Print Thread
Hop To
#245773 09/22/2011 11:10 PM
Joined: Jul 2006
Posts: 27
T
Tainted Offline OP
newbie
OP Offline
newbie
T
Joined: Jul 2006
Posts: 27
I am not sure if I missed this in my search, I would like to create a custom UBBcode on the site.

One of the sites I run is for a world of warcraft guild. They are looking to use the wowhead.com tooltip
http://www.wowhead.com/tooltips

I have the tool tip working, but for security HTML is disabled for most users, this creates an issue with them being able to link using color codes ect.

I am sure there is a way to create a new UBB code and add it to the post buttons like adding an image, but I am just thinking on my feet here and am having trouble figuring this one out.

If anyone can help me figure out where to make a new UBBcode link/line at that would be great,

Thanks

Joined: Jan 2008
Posts: 514
addict
Offline
addict
Joined: Jan 2008
Posts: 514
I am not sure what you are asking for here. There is a way using ubb code to change colors/fonts etc. i.e. [font:Arial Black][/font] you can also embed an image that is on a website by using the [Linked Image from ] same with youtube feeds though there is a button that makes it easy in the reply box.

If uploads are allowed then your users could upload a pic directly there. I know Rick had a pic hosting/sizing site that his son was working on, not sure if that is still up though.

Dunny

Joined: Apr 2007
Posts: 3,940
SD Offline
Former Developer
Offline
Former Developer
Joined: Apr 2007
Posts: 3,940
yah, that can be done -- only thing you would have to do is.. showflat.inc.php would need to load that script ( i assume it is only when you are viewing a post )

then you would create a custom ubbcode to allow them to do like

[wt:desc=Feldstalker thingie&gems=23121&ench=2647&pcs=25695,25696,25697]http://www.wowhead.com/item=25697[/wt]

you'd need an expert to do the regex prolly smile


Joined: Jan 2008
Posts: 514
addict
Offline
addict
Joined: Jan 2008
Posts: 514
Ahh see at least SD had a better idea of what you were asking for lol smile

Dunny

Joined: Dec 2003
Posts: 6,347
Likes: 51
Offline
Joined: Dec 2003
Posts: 6,347
Likes: 51
Just for a little more detail.
Goto:
Control Panel » Content Rebuilder
Select the Custom Tag Editor Tab.
That section is what is needed to edit to add a tag.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Jul 2006
Posts: 27
T
Tainted Offline OP
newbie
OP Offline
newbie
T
Joined: Jul 2006
Posts: 27
Awesome Ruben,

Now I just have to code it, test it, and hopefully not break it.

SD, I might hit you up for the full on coding if needed.

Thanks for all the insight folks.


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Gobal announcement replies.
by Ruben - 04/09/2021 1:46 PM
Strange parse error in faq.php
by Baldeagle - 04/06/2021 1:12 AM
Upgrading to 7.7.5: Error:
by BB - 04/02/2021 10:48 AM
Does UBB 7.7.5 support webp images
by Ruben - 03/27/2021 12:00 PM
Does UBB support webp image. For insert image
by Ruben - 03/27/2021 9:49 AM
Who's Online Now
0 members (), 50 guests, and 76 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
gallery test
gallery test
by Mors, September 23
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 7.7.5