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)
-   -   Latest Photopost Photo In Postbit (https://vborg.vbsupport.ru/showthread.php?t=72335)

sabret00the 12-01-2004 02:56 PM

thanks :)

snyx 12-01-2004 03:51 PM

Oh please make a recent photos in Forumhome hack :)

sabret00the 12-01-2004 04:11 PM

i already got that, but i got it from www.photopostdev.com and just converted it to vBulletin.

alkatraz 12-01-2004 10:24 PM

Quote:

Originally Posted by MPDev
Actually, if they are in seperate databases, as long as they share a common userid/password for access, you could just use the query:

SELECT pp_photos.id, pp_photos.title, user.userid, pp_photos.cat, pp_photos.approved, pp_photos.bigimage
FROM ppost_photos AS pp_photos
LEFT JOIN " . TABLE_PREFIX ."user AS user ON pp_photos.userid = user.userid

and add in a tablename before the ppost_photos like:

photopostdb.ppost_photos

Then it would pull it from the other database without having to switch or combine dbs.

woot thx!

will play around with this later

SVTBlackLight01 12-02-2004 12:34 AM

Quote:

Originally Posted by MPDev
Actually, if they are in seperate databases, as long as they share a common userid/password for access, you could just use the query:

SELECT pp_photos.id, pp_photos.title, user.userid, pp_photos.cat, pp_photos.approved, pp_photos.bigimage
FROM ppost_photos AS pp_photos
LEFT JOIN " . TABLE_PREFIX ."user AS user ON pp_photos.userid = user.userid

and add in a tablename before the ppost_photos like:

photopostdb.ppost_photos

Then it would pull it from the other database without having to switch or combine dbs.

Thanks for the tip. I got it working, but for some reason the image is broken for just one member (that I have been able to see so far). The path isn't correct. It should be http://www.modernengineuity.com/gallery/data/500/468108_0841-thumb.JPG, but it's trying to find it in http://www.modernengineuity.com/gallery/data/503/468108_0841-thumb.JPG

Any ideas? :confused:

Intex 12-02-2004 04:57 AM

Nice work sabret00the . Do you have any plans to release a vBadvanced CMPS module to show the last photo on the homepage? I think a lot of people would be interested in that.

sabret00the 12-02-2004 10:17 AM

Quote:

Originally Posted by Intex
Nice work sabret00the . Do you have any plans to release a vBadvanced CMPS module to show the last photo on the homepage? I think a lot of people would be interested in that.

i don't use vBaCMPS but i think it's already been done anyway :)

sabret00the 12-02-2004 10:18 AM

Quote:

Originally Posted by SVTBlackLight01
Thanks for the tip. I got it working, but for some reason the image is broken for just one member (that I have been able to see so far). The path isn't correct. It should be http://www.modernengineuity.com/gallery/data/500/468108_0841-thumb.JPG, but it's trying to find it in http://www.modernengineuity.com/gallery/data/503/468108_0841-thumb.JPG

Any ideas? :confused:

i haven't got a clue, i can only recommend checking the database and seeing what the catid is for that user for the latest piccie.

dutchbb 12-02-2004 10:50 AM

this could be good, if members have the option to turn it off. I would also like it to be set off by default and only show avatar OR PP pic, not both.

sabret00the 12-02-2004 10:55 AM

Quote:

Originally Posted by Triple_T
this could be good, if members have the option to turn it off. I would also like it to be set off by default and only show avatar OR PP pic, not both.

that's exactly what i want from this, however i just gotta get to grips with the useroptions and usergroup settings.


All times are GMT. The time now is 02:07 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.01899 seconds
  • Memory Usage 1,739KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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