The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
You don't want to hide the code in the archive? Those pages have THIS_SCRIPT defined as 'archive' so just add that into the condition.
As for the videos.... those don't show in the archives and I would guess you would need to go actually edit the code manually to make them show. |
#12
|
||||
|
||||
I want to hide.
I hid URL Links into Archive. That's OK. I want to hide [php],[html],[code],[quote] into Archive. Quote:
Quote:
Okay video. I Changed $tag_list['no_option']['video'] => $tag_list['video']['php'] now ok Thanks |
#13
|
||||
|
||||
if (!($vbulletin->userinfo['userid'] > 0) AND THIS_SCRIPT != 'archive')
(I'm still not sure what exact condition you wanted there so you will need to do the logic yourself.) |
#14
|
||||
|
||||
Section the normal message
http://awesomescreenshot.com/09216n9j50 Archive Section (The problem here) http://awesomescreenshot.com/0d016nak95 For Archive [url],[video],[img] archive_thread_post PHP Code:
Can you help? Thanks |
#15
|
||||
|
||||
I'm not really sure... but it uses the function strip_bbcode which is in the fuctions.php file. You could try using the hook strip_bbcode and set $fast_and_dirty to true? I'm not sure what that will do, but take a look at the function and you can probably do what you want.
|
#16
|
||||
|
||||
I'm sorry, I am taking your time so much.
I want to write a plugin. Task of plugin is hiding [php],[html],[code],[VIDEO],[quote],[IMG],[url],[email] tags from guests. I can hide in the forum with the sample code you gave me That's ok, no problem. hook location - bbcode_fetch_tags PHP Code:
Thank you But I can not hide [php],[html],[code],[VIDEO],[quote],[IMG],[url],[email] tags in archive. I need to help here, Could you help me, please? Can you give an example? I'm beginner. Regards |
#17
|
||||
|
||||
Ummmmm, hook location strip_bbcode:
PHP Code:
$stripquotes = false $fast_and_dirty = false $showlinks = true $stripimg = false $keepquotetags = false So, try setting those to what you want and see what happens. |
#18
|
||||
|
||||
|
#19
|
||||
|
||||
I'm sorry, but if those don't work, then you will need to actually look at the function I pointed you to and try some things out yourself. There are already mods to do all this stuff and I don't have time to go and see how they did them, so you should go do that.
|
#20
|
||||
|
||||
Thank you very much for your help again
I couldn't find plugin for 4.x.x version. (hiding the bb code from guests.) Can you allow me to ask other persons by opening a new topic? Best Regards |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|