vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Integration with vBulletin - LBmtb's Recent Topics on Non-VB Pages (vbSEO edition) (https://vborg.vbsupport.ru/showthread.php?t=134552)

cobradude 12-27-2006 07:20 AM

LBmtb, this looks great, though my needs might not fit the great work you've done here. Do you know a way to do this?

I have category > sub forum > sub forum. So basically I have forum areas that in forumdisplay have additional sub forums. I would like to show latest threads for just those particular sub forums....thoughts?

Kihon Kata 12-27-2006 03:51 PM

Pmed you yesterday.

LBmtb 12-27-2006 04:09 PM

Quote:

Originally Posted by cobradude (Post 1145682)
LBmtb, this looks great, though my needs might not fit the great work you've done here. Do you know a way to do this?

I have category > sub forum > sub forum. So basically I have forum areas that in forumdisplay have additional sub forums. I would like to show latest threads for just those particular sub forums....thoughts?

Go into your vBulletin adminCP > forums and moderators > forum manager. Then click on the subforum you're talking about. At the top of the page it'll say something like "Forum: General Discussion (id: 48)." Write down the ID #'s for the forums you want to include.

Now in the CUSTOMIZE THE FOLLOWING section of the script find
PHP Code:

// FORUM SOURCES FOR TOPICS
// use one or the other, not both. if left blank the script will return threads from any forum
$fidi_raw ""// ONLY include threads from these forums. seperate each ID with a comma
$fidx_raw ""// Exclude threads from these forum. seperate each ID with a comma 

Insert your forum ID's into fidi_raw. If your ID's were 10 and 15 your line would be
PHP Code:

$fidi_raw "10,15"// ONLY include threads from these forums. seperate each ID with a comma 

This will make it pull threads from only those forums you want.

cobradude 12-27-2006 07:51 PM

LBmtb, I was actually hoping to use this in the forumdisplay area for those forums which have only subforums....I'll have to tinker a bit.

Brew 12-31-2006 12:09 AM

Can someone tell me where to get vbSEO for this?

Thanks!

LBmtb 12-31-2006 12:31 AM

Quote:

Originally Posted by Brew (Post 1147788)
Can someone tell me where to get vbSEO for this?

Thanks!

http://www.vbseo.com/ It's not free, btw. But a lot of people have said it's well worth it. I've only had it on my boards for a short period of time so I haven't noticed a HUGE difference in traffic yet.

SaN-DeeP 12-31-2006 01:59 AM

Will this hack work fine if embedded under another portal system templates ?

category 12-31-2006 04:26 PM

I kinda dont understand lets say i set it up right on .php page but how do i use it on .html page?

smoknz28 12-31-2006 04:56 PM

I'm not a coder by any means....but is there a higher potential of being hacked or someone getting your database password using this code on pages?

LBmtb 12-31-2006 08:38 PM

Quote:

Originally Posted by category (Post 1148132)
I kinda dont understand lets say i set it up right on .php page but how do i use it on .html page?

Try this thread: http://www.vbulletin.com/forum/showthread.php?t=3006
Or you can also google "parse php htaccess html" for more info.
Quote:

Originally Posted by smoknz28 (Post 1148157)
I'm not a coder by any means....but is there a higher potential of being hacked or someone getting your database password using this code on pages?

Sort of but not really. PHP stuff get processed on the server so as long as you don't insert "echo $db_pw" or something along those lines a user won't see it. The only way someone can see it is if they have FTP or SSH access to your server, then they can just download the actual file and look at it. But if someone already has FTP or SSH access they can also go into your vB directory and download includes/config.php and get that info there.


All times are GMT. The time now is 02:08 PM.

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.01200 seconds
  • Memory Usage 1,740KB
  • 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
  • (2)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete