The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
this also effects users signature images if a user has an [img[ code in there sig..........
|
#12
|
||||
|
||||
i modded it a bit to make the image a link to teh register page if u r interested ?
$bbcode = preg_replace("|\[img\](.*)\[/img\]|i", "<a href=\"http://www.url.com/forums/register.php?s=&action=signup\"><img src=\"http://www.url.com/forums/images/registerpic.jpg\" border=\"0\" alt=\"\"></a>", $bbcode); |
#13
|
||||
|
||||
Awesome! Let me apply this new little tweak. Very good idea.
Lesane and corsacrazy, thanks again for your assistance with this! |
#14
|
||||
|
||||
all credit goes to the L man and ofcourse atomic for the idea
|
#15
|
||||
|
||||
If anyone is intersted, I created a simple quick and dirty "You'll need to register" graphic and have attached it to this post. (I just used the generic vBulletin colors/fonts, so it's not flashy, but it'll do the job. It includes the corsacrazy mod, telling users they can click the image to register.)
Lesane, would it be a LOT more work to get this hack selectable per forum? Or perhaps a line of code that would exclude a certain forum(s) from this IMG hack? (Perhaps the admin could hard code the forum IDs they want to include for this into the hack, etc? Or vice-versa, one could exclude a particular forum from this IMG tag behavior?) Its not crucial, but if it's not too difficult, it would be a nice addition. Thanks again to Lesane for the PHP work and corsacrazy for the mod! |
#16
|
||||
|
||||
here tis my graffic
|
#17
|
||||
|
||||
Hey, no fair!! Your graphic is way better than mine!
|
#18
|
||||
|
||||
lol i also hav a swf flah move telin people to register i may incorportae that into it
|
#19
|
||||
|
||||
Just so this question doesn't get lost from the first page: Lesane, would it be a LOT more work to get this hack selectable per forum? Or perhaps a line of code that would exclude a certain forum(s) from this IMG hack? (Perhaps the admin could hard code the forum IDs they want to include for this into the hack, etc? Or vice-versa, one could exclude a particular forum from this IMG tag behavior?)
|
#20
|
||||
|
||||
Quote:
It's not really that hard, open admin/functions.php and find: Code:
return bbcodeparse2($bbcode,$dohtml,$dobbimagecode,$dosmilies,$dobbcode); Code:
return bbcodeparse2($bbcode,$dohtml,$dobbimagecode,$dosmilies,$dobbcode,$forumid); Code:
function bbcodeparse2($bbcode,$dohtml,$dobbimagecode,$dosmilies,$dobbcode) Code:
function bbcodeparse2($bbcode,$dohtml,$dobbimagecode,$dosmilies,$dobbcode,$forumid) Code:
if($bbuserinfo[userid]==0) { Code:
if($bbuserinfo[userid]==0 AND $forumid != X) { |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|