The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
Hello
I'm trying to do a mod that replaced the "New Posts" link with "Posts and Threads". When the link is press, a menu comes down showing 4 other links: New Posts, Today Post, New Threads, Unanswered Threads. It works manually, but I wanted to share with others here and I wanted to make it a product. If I upload the product to my site, it loads the template, add the menu to the page, but I cant make automatically replaced the "New Posts" link with "Posts and Threads". I believe the problem is on the plugin, but I can't find it. I have tried 100 different ways and I can't make it work. Here is the code: PHP Code:
|
#2
|
||||
|
||||
![]()
One big problem that I see is in your array creation.
Code:
$repl =array( array( Next, you are searching for escaped quotes... Code:
'<td class=\"vbmenu_control\">... So what you should do is either change the first/last apostrophe to a quote (") or get rid of all of the backslash escapes before the " in what you're looking for. |
#3
|
||||
|
||||
![]()
Thank you very much!
I'll try that. --------------- Added [DATE]1239237177[/DATE] at [TIME]1239237177[/TIME] --------------- Thanks TigerC10, but it didn't work. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|