vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   URGENT! How? Flash buttons show/hide [register] (https://vborg.vbsupport.ru/showthread.php?t=186425)

abdulla1 07-26-2008 03:32 PM

URGENT! How? Flash buttons show/hide [register]
 
Hi all,

I created a flash buttons for my website, a two versions,

1) Buttons without register so [After logging in] and with USER CP.
2) Buttons with register but without USER CP.

i need a way to swap between them, when members log in, the 1st buttons set change to the 2nd set of buttons so register not there and USERCP is there.

Please need help , i have been trying since 2 days..

The site: CL

xXLeighXx2008 07-26-2008 03:55 PM

could you not use?

<if condition="$show['member']">button set 1 (with usercp) <else /> button set 2 (for guests)</if>

abdulla1 07-26-2008 04:04 PM

Quote:

Originally Posted by xXLeighXx2008 (Post 1584684)
could you not use?

<if condition="$show['member']">button set 1 (with usercp) <else /> button set 2 (for guests)</if>


I add this button between the two flashes? i will try,

"$show['member']" <<< this mean the member is logged in ?

and the else he's not logged in?

i will try it and give you my feedback , thanks for the response :)

xXLeighXx2008 07-26-2008 06:03 PM

yes,
$show[member]

shows that the user is logged in

Marco van Herwaarden 07-27-2008 07:39 AM

How is this "URGENT!"?

Urgent is if your board is down. Calling your topics urgent if there is no urgency, only discourage people to answer.

abdulla1 07-27-2008 06:22 PM

Quote:

Originally Posted by Marco van Herwaarden (Post 1585103)
How is this "URGENT!"?

Urgent is if your board is down. Calling your topics urgent if there is no urgency, only discourage people to answer.

I needed urgent because i have an upcoming part after this part :). I wont call it urgent next time if it cause a bother, my apology sir :).

you can modify the topic's name plz,
regards


All times are GMT. The time now is 09:18 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.01648 seconds
  • Memory Usage 1,718KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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