Results 1 to 5 of 5
-
17th Mar 2012, 05:49 PM #1OPMember
BBCode vBulletin Edit
I have VB 3.8
I modified my "class_bbcode.php" file. The modification that was performed, was to the "handle_bbcode_url" function in the file. The function was modified so that when url's are posted in posts, that the url's are displayed as clickable thumbnail images (of the site they are linking to), instead of just clickable hyperlinks.
The original code in the "handle_bbcode_url" function that made it display clickable hyperlinks is still there, it is just now commented out so it is not active.
My problem is, in user signatures, any url's there are also displaying as clickable thumbnail images now, and I want url's in the signatures to display as clickable hyperlinks.
Please provide a quote to perform the work needed to make url's in signatures display as clickable hyperlinks, while keeping the url's in the posts as clickable thumbnail images like they are now.
Thanks.
I am willing to pay $5 via PayPal for this edit that should only be 1 line.DOPE Reviewed by DOPE on . BBCode vBulletin Edit I have VB 3.8 I modified my "class_bbcode.php" file. The modification that was performed, was to the "handle_bbcode_url" function in the file. The function was modified so that when url's are posted in posts, that the url's are displayed as clickable thumbnail images (of the site they are linking to), instead of just clickable hyperlinks. The original code in the "handle_bbcode_url" function that made it display clickable hyperlinks is still there, it is just now commented out Rating: 5
-
17th Mar 2012, 08:03 PM #2
-
17th Mar 2012, 09:11 PM #3OPMember
No, the bbcode is edited through class_bbcode.php which makes all the links into the image of the website.
I need to prevent this parsing in signatures so that only hyperlink is shown and not the image of the website.
-
17th Mar 2012, 10:05 PM #4Member
not sure this would work but did you try if/else conditional?
-
17th Mar 2012, 10:12 PM #5OPMember
r0ck, Im not sure what to add in the php file for it.
Here is what I have:
Code:if ($GLOBALS['_nohyperlink']) { return "<a href=\"$rightlink\" target=\"_blank\">$text</a>"; } else { return "<a href=\"{$rightlink}\" target=\"_blank\" title=\"{$text}\"><img src=\"http://images.shrinktheweb.com/xino.php?stwembed=1&stwaccesskeyid=c447efb0bb9069f&stwsize=sm&stwurl=".urlencode($rightlink)."\" alt=\"{$text}\" border=\"0\" /></a>"; }
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
[Hiring] Quick vBulletin code edit...
By DOPE in forum Completed TransactionsReplies: 7Last Post: 1st Nov 2011, 08:41 PM -
[Hiring] vBulletin few theme css edit
By tractor3231 in forum Completed TransactionsReplies: 0Last Post: 10th Sep 2011, 03:34 AM -
vBulletin Skin Edit
By gmaister22 in forum vBulletinReplies: 2Last Post: 17th Aug 2011, 12:51 PM -
[Hiring] vBulletin Custom-Editing Designer - Edit a premade!
By Foxy in forum Completed TransactionsReplies: 5Last Post: 27th May 2010, 12:03 AM -
Vbulletin experiment on IMG BBCODE
By sunnyx12x21x in forum vBulletinReplies: 3Last Post: 22nd Apr 2010, 05:08 AM
themaRegister - register to forums...
Version 3.46 released. Open older version (or...