vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Automatically include a link to a users' photopost gallery in vbulletin (https://vborg.vbsupport.ru/showthread.php?t=81395)

Gutspiller 08-02-2005 03:00 PM

What if we have 2 photopost installations using the same user database of our forums?

Khashyar 08-28-2005 05:30 AM

Hi wirewolf...

Thanks for posting your hack.

By "This will work only if your photopost and vbulletin share the same database!!", do you mean that they have to share the same user information (i.e., photopost using Vb's users, OR... do you mean that the photopost installation must COMPLETELY share and use the VB database, and cannot have it's own database?

Thanks,

Khashyar

wirewolf 08-28-2005 09:11 AM

Quote:

Originally Posted by Khashyar
Hi wirewolf...

Thanks for posting your hack.

By "This will work only if your photopost and vbulletin share the same database!!", do you mean that they have to share the same user information (i.e., photopost using Vb's users, OR... do you mean that the photopost installation must COMPLETELY share and use the VB database, and cannot have it's own database?

Thanks,

Khashyar

First, you're welcome and thanks.
Well, they could be separate, but a lot more coding would have to be done to make it work. It would be essential for the user table to be the same for both vbulletin and photopost. Is your forum set up that way, separate databases?
John

Khashyar 08-28-2005 04:58 PM

Hi John,

Thank you for the quick reply...

Yes, my PP and VB installations share the same user info (taken from the VB database). The photos and other information are in their respective databases.

You did a great job with your hack, and I am sure that there are a lot of people who have sepreate PP and VB databases who would love to install your hack is you can post some of the additional code.

My understanding is that you would just need to include login config information for the PhotoPost database in the code that you include in VB (since it is pulling the photos from a different database that is not in the VB database).... I am wondering whether it would be a secure option to include login DB info for the Photopost database in the script.

If you have ideas as to how to alter your code for different databases (but shared user info), than I would appreciate it.

Thank you again for sharing your hack,

Khashyar

Kristoph 12-01-2005 12:52 AM

got this installed and running like a charm on my forums, made a few alterations, used a camera icon in the postbit for the link... I also added an extra profile field for last photo timestamp, modified the query to "SET fieldx=1,fieldy=UNIX_TIMESTAMP()" then put in a quick conditional, so as it displays a "new photos" message underneath if there's been any photos uploaded in the last 24 hours....

digidivakathy 12-14-2005 02:48 AM

Will this work with vB 3.5.2? It is EXACTLY what I need so I hope so!

slvr ralliart 12-25-2005 03:44 AM

Quote:

Originally Posted by digidivakathy
Will this work with vB 3.5.2? It is EXACTLY what I need so I hope so!

I wanna know this too but I have 3.5.1 vb version

Zachariah 12-26-2005 07:59 PM

In it's current state no.
- There may be a good amount of things done w/ plugins vs. edits.

slvr ralliart 12-27-2005 01:37 AM

Quote:

Originally Posted by Zachariah
In it's current state no.
- There may be a good amount of things done w/ plugins vs. edits.

would you make this compatiable for vb 3.5.1 please?

slvr ralliart 12-29-2005 10:27 PM

bump

hello???


All times are GMT. The time now is 08:35 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.01829 seconds
  • Memory Usage 1,737KB
  • 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
  • (3)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