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
  #32  
Old 03-26-2004, 08:56 PM
corsacrazy's Avatar
corsacrazy corsacrazy is offline
 
Join Date: May 2002
Location: london
Posts: 854
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what do i change here

Code:
 <script language="JavaScript" type="text/JavaScript"> 

function updatePost(UBBCode) {

BodyVal = opener.document.vbform.message.value;

opener.document.vbform.message.value = BodyVal + UBBCode;

}

</script>


to make is so when clicked the code is inserted into the avatar url filed in modify avatar page
Reply With Quote
  #33  
Old 04-13-2004, 03:51 PM
MPDev's Avatar
MPDev MPDev is offline
 
Join Date: Oct 2003
Location: Virginia
Posts: 885
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not sure - I assume you would have to find the name tag for that field and insert it in place of the vbform.message variable.
Reply With Quote
  #34  
Old 04-13-2004, 04:34 PM
paratek's Avatar
paratek paratek is offline
 
Join Date: Feb 2003
Location: New York
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works great Michael, thanks....

Has anyone figured out how to get it to work with WYSIWYG?
Reply With Quote
  #35  
Old 04-20-2004, 01:29 AM
SVTOA SVTOA is offline
 
Join Date: Oct 2002
Location: In a fishbowl
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'll give this a shot, I have VB3.0 and PP using the same database.

I would like to say that I've been a PP customer for a long time and Scott and Michael have both been very responsive to my questions and have provided top-notch assistance when I need it. Sometimes other members on the PP forums reply in a somewhat rude fashion, but that has happened here as well. I once asked Scott for help via e-mail, and while he kindly reminded me that support is supposed to be done via the PP website/forums, he still offered a solution in his response.

VB combined with PP makes for one heck of a nice website.
I will give this a go and see if I can make it work.
Reply With Quote
  #36  
Old 04-20-2004, 02:08 AM
SVTOA SVTOA is offline
 
Join Date: Oct 2002
Location: In a fishbowl
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This works perfectly Michael.

VB3.0.0/PP4.7I

Members love it, nice work!!
Reply With Quote
  #37  
Old 04-20-2004, 10:07 AM
lasto lasto is offline
 
Join Date: Jan 2002
Posts: 1,514
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[high]* lasto clicks installed
[/high]

and it works with the wysiwug editor - quite chuffed with this hack actually

well done m8
Reply With Quote
  #38  
Old 04-20-2004, 11:45 AM
corsacrazy's Avatar
corsacrazy corsacrazy is offline
 
Join Date: May 2002
Location: london
Posts: 854
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by lasto
[high]* lasto clicks installed
[/high]

and it works with the wysiwug editor - quite chuffed with this hack actually

well done m8
u sure?
Reply With Quote
  #39  
Old 04-20-2004, 11:48 AM
SVTOA SVTOA is offline
 
Join Date: Oct 2002
Location: In a fishbowl
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works with mine as far as putting the IMG code in the text area properly...
Reply With Quote
  #40  
Old 04-20-2004, 11:51 AM
lasto lasto is offline
 
Join Date: Jan 2002
Posts: 1,514
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Deffo sure - i go to advanced and use that box to do my post.Thats the wysiwug editor aint it
Reply With Quote
  #41  
Old 04-20-2004, 11:52 AM
corsacrazy's Avatar
corsacrazy corsacrazy is offline
 
Join Date: May 2002
Location: london
Posts: 854
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by lasto
Deffo sure - i go to advanced and use that box to do my post.Thats the wysiwug editor aint it
there is standard/advanced and wysiwyg .. theres 3
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 02:08 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.04813 seconds
  • Memory Usage 2,303KB
  • 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
  • (1)bbcode_code
  • (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