Quick Login   
 
Register AdminFusion Tutorials Post Fusion Forum Matrix
 
Old 09-14-2007, 01:49 AM   #1
Member
 
Join Date: Sep 2007
Location: US
Posts: 101
Brandr has a spectacular aura aboutBrandr has a spectacular aura about
Two state buttons in php

I have never seen a vBulletin forum which featured two state buttons: Reply, edit, sendpm, etc.
Of course it is a simple matter to place the necessary java script in the forum display template, but integrating a two state button with the php 'if conditions' coding is beyond my expertise at the moment.

Are there forums out there which are employing two state buttons in the show thread template: reply button, multiquote button, etc. and would this require a majour piece of php coding?

I noticed the header of this forum has a really slick two state navbar. I am sure some of the links relate to php 'if conditions'. If anyone has any information related to the topic of two state buttons in php -I'd be very appreciative and interested to hear from you.

I made a few crude, preliminary two state vBull buttons to give you an idea what I am on about. HERE<



Best regards.

B.
Brandr is offline   Reply With Quote
Old 09-14-2007, 03:50 AM   #2
Forum Guru
 
Ryan's Avatar
 
Join Date: Sep 2005
Location: Athens, GA
Posts: 10,256
Ryan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond repute
I'm not sure what good php conditionals would do for you in this case...In any case, our header uses javascript to get that rollover effect. I would imagine the best and easiest way to do this in posts would also be to use javascript.

I like the idea of "two state" buttons

I'm like you...I've never seen that done
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
- Professional vBulletin Skins
Ryan is offline   Reply With Quote
Old 09-14-2007, 03:53 AM   #3
Forum Enthusiast


 
BamaStangGuy's Avatar
 
Join Date: Sep 2005
Location: Alabama
Posts: 2,483
BamaStangGuy has a reputation beyond reputeBamaStangGuy has a reputation beyond reputeBamaStangGuy has a reputation beyond reputeBamaStangGuy has a reputation beyond reputeBamaStangGuy has a reputation beyond reputeBamaStangGuy has a reputation beyond reputeBamaStangGuy has a reputation beyond reputeBamaStangGuy has a reputation beyond reputeBamaStangGuy has a reputation beyond reputeBamaStangGuy has a reputation beyond reputeBamaStangGuy has a reputation beyond reputeBamaStangGuy has a reputation beyond repute
Send a message via AIM to BamaStangGuy
Looks like you could just use javascripts onmouseover function? Unless I am missing something.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
More to be listed soon.
BamaStangGuy is offline   Reply With Quote
Old 09-14-2007, 04:19 AM   #4
Member
 
Join Date: Sep 2007
Location: US
Posts: 101
Brandr has a spectacular aura aboutBrandr has a spectacular aura about
Quote:
Originally Posted by BamaStangGuy View Post
Looks like you could just use javascripts onmouseover function? Unless I am missing something.
It is more likely that I am missing something.
The problem for me, is how to make a two state button link to an 'if condition' link.
You can easily link a two state button to a simple url such as: memberslist.php
But how do you incorporate a two state button when the url is conditional for each user, thread or post? When I log out of a forum, I am not simply logging out with logout.php but

anyforum.com/forum/login.php?do=logout&logouthash=823d093b8c7773ee589 d21ea2cc7f808
If anyone can get a button like one of these HERE< to function properly in their asigned task on a vBulletin, I'd be glad to see it.
I am determined to see two state reply buttons by 2008!...lol

Best regards.

B.
Brandr is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

 
Posting Rules

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP 4 script, to PHP 5. Jolteon Off Topic 7 02-04-2007 02:10 AM
Yahoo Lays Out Welcome Mat For PHP Devs shellspeare Graphics and Design 0 03-01-2006 08:08 AM
php Resource List gprime Graphics and Design 6 01-24-2006 04:01 PM

AdminFusion

All times are GMT +1. The time now is 02:53 PM. Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0

© 2009 AdminFusion | Advertising Opportunities | Legal | A member of the Crowdgather Forum Community
 
From:
Title:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77