| | #1 |
| Member Join Date: Sep 2007 Location: US
Posts: 101
![]() ![]() | 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. |
| | |
| | #2 |
| Forum Guru ![]() Join Date: Sep 2005 Location: Athens, GA
Posts: 10,256
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 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 |
| | |
| | #3 |
| Forum Enthusiast ![]() ![]() ![]() | 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. |
| | |
| | #4 | |
| Member Join Date: Sep 2007 Location: US
Posts: 101
![]() ![]() | Quote:
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. | |
| | |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
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 |
