Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Photopost 5.21 Forum Thumbnails for vb 3.54 Details »»
Photopost 5.21 Forum Thumbnails for vb 3.54
Version: 1.00, by TOZ TOZ is offline
Developer Last Online: Mar 2008 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 03-28-2006 Last Update: Never Installs: 3
Code Changes  
No support by the author.

Photopost 5.21 Forum Thumbnails for VB 3.54

After playing around with this I finally got it right, here is my final advise.
This is for people that has the photopost software in a different database name from your vbulletin.

Black bold letter (changes made to the files)
Green letters: Instructions

1st.
In your Forum index.php file from VB 3.54

Find:
require_once('./global.php');

require_once(DIR . '/includes/functions_bigthree.php');
require_once(DIR . '/includes/functions_forumlist.php');
************************************************** *****
Under these add:
include(DIR . '/photopost/inc_features.php');
include(DIR . '/photopost/inc_photopost.php');
Where "photopost" is, make sure is your correct path if you changed it.

2nd:
Edit your file: inc_features.php (From Photopost)
Edit your file: inc_photopost.php (From Photopost)

inc_photopost.php:
On line 26 (On inc_photopost.php file)Find:
//mysql_select_db ("vb_photopost")or die("Could not select photopost database");

In here, delete the 2 green slashes and replace the black bold with your photopost database name; Example: vb_photopost or vb_gallery, how ever you named your photopost databse.

On line: 310 ( The very last part of the file)
Find:
// If you use PhotoPost in a seperate database from vB, you'll need to reselect the vB database!
//mysql_select_db ("vb_bulletin");
In here, delete the 2 green slashes and replace the black bold with your vbulletin database name; Example: vb_bulletin or vb_whatevernameitis.

Save and upload to your FTP photopost directory, Done.

inc_features.php:
On line 26 (On inc_photopost.php file)Find:
//mysql_select_db ("vb_photopost")or die("Could not select photopost database");
In here, delete the 2 green slashes and replace the black bold with your photopost database name; Example: vb_photopost or vb_gallery, how ever you named your photopost databse.

Save and upload to your FTP photopost directory, Done.
************************************************** *******

3rd.
Now, the last thing to do:
Go to your Style manager, select and Edit FORUMHOME
Right under $navbar, or where ever you wanna ad the thumbnails box,
ad this command: $photopostfeature
************************************************** *******

Well I hope this help to set up your Random Thumbnail box on your Forumhome page.

Danny

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 03-29-2006, 02:45 PM
COBRAws's Avatar
COBRAws COBRAws is offline
 
Join Date: Oct 2002
Location: Buenos Aires
Posts: 864
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you are the man!

I made it this way a few months ago, but never bothered writting down a tutorial, wich is not good, because I always forgot how I did some things lol.

/me humpz the install butt0n
Reply With Quote
  #3  
Old 03-29-2006, 04:31 PM
TOZ TOZ is offline
 
Join Date: Apr 2004
Location: Florida
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Glad I can help
Reply With Quote
  #4  
Old 03-29-2006, 06:41 PM
jim6763nva's Avatar
jim6763nva jim6763nva is offline
 
Join Date: Oct 2005
Location: Virginia
Posts: 204
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Would this be usable if the PhotoPost tables are in the same database as the vBulletin tables? How much change would be involved? I haven't had a chance to look through the code yet since I'm at work.

Jim
Reply With Quote
  #5  
Old 03-29-2006, 07:38 PM
TOZ TOZ is offline
 
Join Date: Apr 2004
Location: Florida
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jim6763nva
Would this be usable if the PhotoPost tables are in the same database as the vBulletin tables? How much change would be involved? I haven't had a chance to look through the code yet since I'm at work.

Jim
Instead of putting the Photopost databse name just ad your Vbulletin Databse name.
Reply With Quote
  #6  
Old 03-29-2006, 08:05 PM
trainer trainer is offline
 
Join Date: Nov 2001
Posts: 160
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what does this do?
Reply With Quote
  #7  
Old 03-29-2006, 08:07 PM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It says in the description at the top already.

Thanks!
Reply With Quote
  #8  
Old 03-31-2006, 04:31 AM
TOZ TOZ is offline
 
Join Date: Apr 2004
Location: Florida
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by trainer
what does this do?
This is to show you how to set up your Random Thumbnails on your Forumhome or Feature photos, how ever you wanna call it. For the Photopost PRO v5.2.1
Reply With Quote
  #9  
Old 04-02-2006, 11:38 PM
flavoflav2000 flavoflav2000 is offline
 
Join Date: Dec 2005
Location: CA
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

all works well - BUT - the thumbnails do not show... thats a mystery right now :bunny:
Reply With Quote
  #10  
Old 04-18-2006, 04:58 PM
fosman's Avatar
fosman fosman is offline
 
Join Date: Dec 2005
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

t doesn't work fr me:tired:
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:11 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.04429 seconds
  • Memory Usage 2,296KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete