vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   User Info (https://vborg.vbsupport.ru/showthread.php?t=83786)

Dimi 07-10-2002 03:48 AM

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.

corsacrazy 07-10-2002 06:58 AM

On page load or when someone clicks it? and why? You just nedd a simple script and some html.

mashby 07-10-2002 11:59 AM

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?

Trust 07-10-2002 01:27 PM

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 :p

Greetz,

Trust

mashby 07-10-2002 10:36 PM

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!

Dimi 07-11-2002 08:55 AM

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="javascript:popup('member.php3?=')">
<img src="{imagesfolder}/profile.gif">
</A>

Anyone know how to complete the url string?

mashby 07-11-2002 10:35 AM

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]">

Trust 07-11-2002 10:50 AM

That's the right thing...my thing was an idea...I dont know very much things about vb postsbits and templates....:p

Dimi 07-11-2002 11:34 AM

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

:D

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

Greez,

Dimi


All times are GMT. The time now is 11:43 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
  • Page Generation 0.00958 seconds
  • Memory Usage 1,725KB
  • 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
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete