The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Assistance in determining the location to place the code ... (post content)
Hi,
in which the plug can add code to retrieve content [code] from the posts content and where the variable is stored contents post ? |
#2
|
||||
|
||||
Posts are stored in 'post' table, but what exactly you want to retrieve?
|
#3
|
||||
|
||||
In tags [code] I have a constant content and I want to do with the link and show the above [code]
--------------- Added [DATE]1329737605[/DATE] at [TIME]1329737605[/TIME] --------------- help please |
#4
|
||||
|
||||
I don't understand what you want to do.
|
#5
|
||||
|
||||
Sorry to my English
Look, In post I have: content content content content [.code]Something_Content[/.code] and i want make: content content content content <a href="Something_Content">Something_Content</a> <- This content is from [.code][./code] [.code]Something_Content[/.code] In which the plug-in add my PHP code ?? Plug-in for me is for example global_start or showthread_start or postdata_start Now You understand ? |
#6
|
||||
|
||||
Why not just edit the bbcode_code template and add that to the top of it?
|
#7
|
||||
|
||||
because I have a lot of such messages
|
#8
|
||||
|
||||
So you want to show a different message all the time whenever someone uses the code tag? Can you do a str_replace on it? I'm really not understanding exactly what you are trying to do so it's hard to recommend something for you to do. If you are replacing something in the postbit though, I'd use a postbit_display_* hook.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|