A vBulletin site devoted to helping webmaster optimize their search results in search engines.
Please welcome our newest member, JURADO!
Spice up your web site with the ultimate community message board solution!
Fake Id'sGet fake Id's made right now!
vBSEOSearch Engine Optimization for your VBulletin Forum.
AdminFusion
»
does anyone know what kind of technology or scripts they are using?
| | #1 |
| | |||||
| Title: Member Join Date: Dec 2006 Posts: 129 ![]() | does anyone know what kind of technology or scripts they are using? Iam wondering if any of you in here know what kind of technology or scripts / intergration they are using to pull out specific posts/threads from vbulletin onto the main page? sample sites: Slickdeals.net Tinh Tế - Chia sẻ thông tin, kinh nghiệm cho người dùng điện thoại, pda, máy t*nh, máy ảnh v* các thiết bị công nghệ thnsk for helping
__________________ | ||||
| |
| | #2 |
| | #3 |
| | |||||
| Title: Member Join Date: Apr 2006 Posts: 70 Location: Cincinnati, Ohio ![]() | Why not just contact those sites and ask them? I'm sure they won't mind explaining how to do that.
__________________ The Oldiesmann SMF Project Manager SMF+Gallery2 Integration Project - Beta3.1 now available! | ||||
| |
| | #4 |
| | |||||
| Title: Member Join Date: Dec 2007 Posts: 136 Location: Ringgold, GA ![]() ![]() | Seems I'm not able to access either website right now, however, I'd think it would be a simply MySQL Query connecting the the threads table and pulling them through based on their forum id's. For example: PHP Code: This isn't tested, so I'm not sure if it works, but it's more of an example to provide you with a general idea of where to start. I'm not 100% sure if vBulletin still uses $db->query as I do not have a working copy on-hand to look over and review for their query statements and classes. Basically, what the above query is doing is looking through the threads table of your database, if the forum id (fid) is equal to the one in the query, or any of theme in the query, it will 'spit' it out to the eval(); statement. The 'while' bit is a loop to loop the query through until it is told to stop. In this case, we have a LIMIT 10 at the end of the query so it will only get the first 10 threads that match the query call. The eval(); is actually what is used to call templates in vBulletin so you would need to create a new template for your style and name it as you wish (can be anything you want). If you look in index.php, you can find the eval() call to call a template within vBulletin. Once you have a new template, you need to insert the values accordingly. For example, $threadlist is the variable you'll use to call the table information. $threadlist[threadid] - Outputs thread id (i.e. 1, 2, 3 ect) $threadlist[threadtitle] - Outputs the thread title $threadlist[postauthor] - Outputs the author of the post .... And the list could go on according the the 'thread' table structure.
__________________ - AirborneFive - Simplified Web Hosting - First Month is 100% Free - 60 Day Money Back Guarantee - 99.99% Network & Server Uptime Guarantee | ||||
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Affordable Webmaster Scripts Starting @ $4.95 | csquare016 | Buy and Sell | 0 | 02-07-2007 12:53 AM |
| $1 Scripts At Scripturn.com + Great Services | xadet3 | Buy and Sell | 0 | 08-07-2006 05:17 PM |
| Any one know where I can find these scripts at? | Mega Mario | Off Topic | 3 | 06-25-2006 05:44 AM |
