Thread: vBindex v2.1
View Single Post
  #1464  
Old 07-28-2003, 01:21 PM
mccollin mccollin is offline
 
Join Date: Jul 2003
Location: North Carolina, USA
Posts: 160
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the quick reply. I was originally looking to use vbPortal for the site, but they don't support multiple portal pages and the system is pretty complex... not easy for me to go in and tweak. The script I used to do the current site was a pretty basic portal script, and so it was very easy for me to go in and make it do what I wanted. I ended up tweaking the queries to do half of what's on my pages.

The part where you didn't understand what I was asking is on the first url that I posted. At the top of the page, I show 2 news items with full text... then there is an xml stream ... then I show the popular, new, and recent lists, then I get to the part that needs explanation.

I added a table with categories. The table has a thread id, a sort number, and the category id. Another table holds the category ids and descriptions. This is for organizing a forum loaded with FAQs. When I display this on the portal page, I loop the news code about 8 times, each time indexing to the next category. I have hard coded the number of loops, and the template variables for each loop. The result is what you see at the bottom half of that url. A list of FAQ titles... then when you select a particular FAQ, it takes you to the thread in phpBB. I've actually altered this a bit as well to go to an article style template on a different page.

Do you think I could figure out how to hack this from the code of vBindex 2.1? I am not that experienced with php and mysql, but I've can usually figure out things if I have a starting point and code that isn't to difficult to understand.

Another question... assuming I do this, how big of a port do you think it would be going to vB V3?
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01079 seconds
  • Memory Usage 1,763KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete