The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Turn off autoparsing (vB3)
I'd like autoparsing or url hyperlinks to be off by default (or completely disabled), but only in a certain forum. It can't be global. This was accomplished in vB2.x, but now I'd be simply ecstatic if someone could help figure out how to do this in vB3.0.
Thanks in advance |
#2
|
||||
|
||||
Oh yeah, BTW...here's the old code that worked in 2.x. It never did work on the quick reply though. I wish that could be fixed on the new version. Anyway, I thought this might help someone to figure this out. I hope this makes it easier.
There are two different variations that accomplish this hack... Replace this in newthread.php and newreply.php if (!isset($parseurl)) { $parseurlchecked="CHECKED"; } With this: if (!isset($parseurl)) { if ($foruminfo[forumid]!=22) { $parseurlchecked="CHECKED"; } else { $parseurlchecked = ''; } } This also seemed to work: if ((!isset($parseurl)) && ($foruminfo[forumid]!=22)) { $parseurlchecked="CHECKED"; } else { $parseurlchecked = ''; } |
#3
|
||||
|
||||
You can do this using template conditionals now in vB3 - no hack needed.
|
#4
|
||||
|
||||
That's great! Could you point me in the right direction? I know nothing of template conditionals, I guess. :ermm: Where do I find this?
|
#5
|
||||
|
||||
Basically, I want it to do this...
If forurmid=12, then parseurl=no else, parseurl=yes I just don't know how to do it. I'm sure it's something simple, but I don't know the code to do it. Anyone? :ermm: |
#6
|
||||
|
||||
Nobody?
|
#7
|
||||
|
||||
Now that it's gone Gold, I really need to figure this one out. Any help will be greatly appreciated.
|
#8
|
||||
|
||||
Ok, Zachery at vB just told me that WYSIWYG will always parse url's, so that will also have to be disabled in that one forum. Can this be done using conditionals, too?
|
#9
|
||||
|
||||
I've been reading about this, and I think I just need convert this old code into the newer code.
Old 2.X code PHP Code:
New 3.0 code PHP Code:
|
#10
|
|||
|
|||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|