Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 07-10-2002, 03:48 AM
Dimi Dimi is offline
 
Join Date: Jul 2002
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default User Info

Don't know if this is an easy one or not but here it goes.

How could you make the user info pop up in a sort of popup box in say a window of 500 x 350

I thought that would be kind of interesting.
Reply With Quote
  #2  
Old 07-10-2002, 06:58 AM
corsacrazy's Avatar
corsacrazy corsacrazy is offline
 
Join Date: May 2002
Location: london
Posts: 854
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

On page load or when someone clicks it? and why? You just nedd a simple script and some html.
Reply With Quote
  #3  
Old 07-10-2002, 11:59 AM
mashby's Avatar
mashby mashby is offline
 
Join Date: Jan 2002
Location: Nashville, TN - USA
Posts: 736
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't know if this is his question, but I'd like to have my user profile pages as a pop up as well. I know HOW to make it a pop-up, but in what template would I alter it so that it would work?
Reply With Quote
  #4  
Old 07-10-2002, 01:27 PM
Trust
Guest
 
Posts: n/a
Default

I think in the template for the profile style etc..change the html and php etc in a popup code...

If you press on usercp or whatever maybe you get an pop up..

I'm not very good in html I always use dreamweaver

Greetz,

Trust
Reply With Quote
  #5  
Old 07-10-2002, 10:36 PM
mashby's Avatar
mashby mashby is offline
 
Join Date: Jan 2002
Location: Nashville, TN - USA
Posts: 736
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Doh! Yeah, and it can be changed in the postbit too. Can't believe I didn't think of that!

So, Dimi, to answer your question, do the following:

1. Create the proper link for the pop-up. If you're new to pop-ups you can try this web based tool [link]

2. Place the new link in your postbit template.

Hope that helps!
Reply With Quote
  #6  
Old 07-11-2002, 08:55 AM
Dimi Dimi is offline
 
Join Date: Jul 2002
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm yeah i also know how to make popups but that wasn't my real problem, the reason is that there isn't a real link.

what would the replacement url be for this?

$post[profile]

It should be something like this

<A HREF="javascriptopup('member.php3?=')">
<img src="{imagesfolder}/profile.gif">
</A>

Anyone know how to complete the url string?
Reply With Quote
  #7  
Old 07-11-2002, 10:35 AM
mashby's Avatar
mashby mashby is offline
 
Join Date: Jan 2002
Location: Nashville, TN - USA
Posts: 736
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've been working on documenting this mod, but my javascript test wasn't working.

To answer your question, the <a href> should be the following:
Code:
<a href="member.php?s=&action=getinfo&userid=$userinfo[userid]">
Reply With Quote
  #8  
Old 07-11-2002, 10:50 AM
Trust
Guest
 
Posts: n/a
Default

That's the right thing...my thing was an idea...I dont know very much things about vb postsbits and templates....
Reply With Quote
  #9  
Old 07-11-2002, 11:34 AM
Dimi Dimi is offline
 
Join Date: Jul 2002
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Got it after a bit h***els, and if you do this, don't forget
to set border=0 on your image



That popup creation site didn't work so i tried a diffirent one, worked out very well.

Greez,

Dimi
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 09:03 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.04243 seconds
  • Memory Usage 2,234KB
  • Queries Executed 13 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (7)postbit_onlinestatus
  • (9)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_postinfo_query
  • fetch_postinfo
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete