PDA

View Full Version : Help convert 3.8 code to 4.0 for a New Post query


Jamieinnh
20 Dec 2009, 01:34
On my 3.8 site I have been using this mod: http://www.vbulletin.org/forum/showthread.php?t=82872 which worked very well.

Now, I would like to try to get this to work on my 4.0 site. I have edited the search.php file like the text file from the mod told me without a problem as that didn't change from version to version much, but the templates have changed and although I have tried to get my mind wrapped around it, I can't get it to work.

I am going to post the Template edits from the Mod text file, can anyone help me change this from 3.8 code to 4.0?

This is from the Text file:


edit from mod: code removed.

This is what I have found in the Navbar of 4.0:

<vb:if condition="$show['member']">
<li><a href="search.php?{vb:raw session.sessionurl}do=getnew&amp;contenttype=vBForum_Post">{vb:rawphrase new_posts_nav}</a></li>
<vb:else />
Thanks for any help you can give me!!

Lynne
20 Dec 2009, 03:23
Code removed. Unless you have the permission of the author, you may not post the modification code here iin full (see the rules - only 10 lines are allowed).

Jamieinnh
20 Dec 2009, 03:47
Sorry Lynne, didn't mean to break the rules I just figured since it was posted in the Mod thread as a text file it would be ok. I didn't think about the fact that non registered people can't see the mods or code until you just removed it.

Sorry, well, maybe someone can go to the Mod in the link and help out. I did post in that Mod thread so maybe the developer could help, but figured since it was only this bit that needed updating I would ask the community,

Again, sorry about posting the whole code.