![]() |
|
Thread Tools |
#1
|
||||
|
||||
Help with mod
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:
No members have liked this post.
|
#2
|
||||||||
|
||||||||
One big problem that I see is in your array creation.
You are making a 2 dimensional array. This is not necessary. Just take one of those out, and be sure to take out the matching parenthesis. Next, you are searching for escaped quotes...
The only reason for escaping the quote symbol is if you START/END the string with a quote. You start the string with an apostrophe (see the blue ' at the beginning?). 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.
__________________
~TigerC10~ No members have liked this post.
Last edited by TigerC10; 08 Apr 2009 at 04:52. |
#3
|
||||
|
||||
Thank you very much!
I'll try that. --------------- Added 09 Apr 2009 at 01:32 --------------- Thanks TigerC10, but it didn't work. No members have liked this post.
Last edited by Ipuck; 09 Apr 2009 at 01:32. Reason: Auto-Merged DoublePost |
![]() |
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 14:44.