Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Beta Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
PhotoPost PopUp vB Code Details »»
PhotoPost PopUp vB Code
Version: 1.01, by MPDev MPDev is offline
Developer Last Online: Dec 2016 Show Printable Version Email this Page

Version: 3.0.6 Rating:
Released: 01-28-2004 Last Update: 02-13-2005 Installs: 14
Is in Beta Stage  
No support by the author.

This mod provides for a Select popup box which displays thumbnails of a users PhotoPost gallery. Clicking on a thumbnail inserts the vB Code for that image into the text area. NEXT and PREV links are provided to scroll through a users photos (16 displayed at a time).

Mod installed at http://www.photopostdev.com

+ + To Do

vBulletin files to edit: 1
PhotoPost files to add: 1
Queries to Run: 0
Templates to add: 1
Templates to modify: 1
Time to install: 15 Minutes

+ + Known Issues

Mod assumes PhotoPost and vB are installed into same database. If you have them in seperate databases, you will need to use a mysql_select_db() to switch to PP and then back to vB in the pppanel.php file.

http://www.photopostdev.com/showthre...=1232#post1232

Show Your Support

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

Comments
  #62  
Old 06-02-2004, 09:12 AM
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
Location: Behind you
Posts: 2,779
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by obsidian
Just installed this and with the changes supplied by the nail geek everything shows up as expected. I have a problem with trying to insert more than one photo...... it will copy over all the previous text. I tried inserting one and then closing the popup and then opening it again to see if it would insert another but no luck.
hmmm Thats freaky. It doesnt do that with me. It simply adds the next picture below the first (either when I choose another pic from the same window or from a new pop up window).
Is this in the wysiwyg editor?
Reply With Quote
  #63  
Old 06-04-2004, 05:21 AM
rstan rstan is offline
 
Join Date: Mar 2004
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yeah I missed something....doh!....works perfectly! thanks, saved me alot of time.

Anyone have any idea how to modiy this to place the thumbnail with link to the full image?
Reply With Quote
  #64  
Old 06-05-2004, 12:31 AM
obsidian's Avatar
obsidian obsidian is offline
 
Join Date: Apr 2003
Location: Austin Tx
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmmm I am using the standard editor. I think I see the difference though. When I switched everything over to the wysiwyg editor it inserts the whole picture and then closes the popup box. With the standard editor it inserts the bbcode for that line and leaves the popup window open. If you select another it overwrites the original code. If you close the box and then open it to select another it does the same thing. So unless I have done something wrong, which is a possibility, there is something screwy with the popup on the standard editor.
Reply With Quote
  #65  
Old 06-08-2004, 03:38 AM
rstan rstan is offline
 
Join Date: Mar 2004
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works fine on mine with standard editor. How do I insert a return after each [img] code? It places them all inline if you select more then one.
Reply With Quote
  #66  
Old 06-14-2004, 01:16 AM
dreamhost's Avatar
dreamhost dreamhost is offline
 
Join Date: Jun 2002
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great hack, but one thing i do not understand.
I have photopost and vb in sep db's so i inserted the code in the beginning and the end to switch dbs.
my userid# is the same in both db's.
when i click the button, it says i have no pictures, even though i know i have about 1500 in my member gallery

ideas?
Reply With Quote
  #67  
Old 06-15-2004, 02:08 AM
MPDev's Avatar
MPDev MPDev is offline
 
Join Date: Oct 2003
Location: Virginia
Posts: 885
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can modify the popup code to use databases like: photopost.photos (assuming you have no prefix for pp tables and that the two dbs share a common userid/password).
Reply With Quote
  #68  
Old 06-20-2004, 04:43 PM
tteal tteal is offline
 
Join Date: May 2004
Location: Pasadena, Maryland
Posts: 142
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by obsidian
Just installed this and with the changes supplied by the nail geek everything shows up as expected. I have a problem with trying to insert more than one photo...... it will copy over all the previous text. I tried inserting one and then closing the popup and then opening it again to see if it would insert another but no luck.
Ditto what was said above...... is there a fix for that?
Reply With Quote
  #69  
Old 06-26-2004, 08:48 PM
rstan rstan is offline
 
Join Date: Mar 2004
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For clickable thumbs, brings up full image in new window.

in ppanel.php replace

PHP Code:
$imgurl "[img]https://vborg.vbsupport.ru/[/img]"
with

PHP Code:
$imgurl "[url={$data_dir}/$ppcat/{$user}{$photo_name}{$theext}][img]https://vborg.vbsupport.ru/[/img][/url]"
Reply With Quote
  #70  
Old 06-29-2004, 08:21 PM
ranger2kxlt ranger2kxlt is offline
 
Join Date: Jan 2003
Location: Plano, TX
Posts: 272
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've done all the changes needed....i still can't view the pictures....
Reply With Quote
  #71  
Old 06-30-2004, 12:17 PM
ranger2kxlt ranger2kxlt is offline
 
Join Date: Jan 2003
Location: Plano, TX
Posts: 272
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

may have found the problem....how do you change different databases? I'm not understanding the first post, can someone explain?

Thanks
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 01:30 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05559 seconds
  • Memory Usage 2,308KB
  • Queries Executed 25 (?)
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_php
  • (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
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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