vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Help convert 3.8 code to 4.0 for a New Post query (https://vborg.vbsupport.ru/showthread.php?t=230590)

Jamieinnh 12-20-2009 12:34 AM

Help convert 3.8 code to 4.0 for a New Post query
 
On my 3.8 site I have been using this mod: https://vborg.vbsupport.ru/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:

PHP Code:

<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 12-20-2009 02:23 AM

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 12-20-2009 02:47 AM

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.


All times are GMT. The time now is 02:15 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01499 seconds
  • Memory Usage 1,715KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete