![]() |
What if we have 2 photopost installations using the same user database of our forums?
|
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 |
Quote:
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 |
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 |
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....
|
Will this work with vB 3.5.2? It is EXACTLY what I need so I hope so!
|
Quote:
|
In it's current state no.
- There may be a good amount of things done w/ plugins vs. edits. |
Quote:
|
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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|