The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Scriptaculous Effects for vBulletin with User Dialogs Details »» | |||||||||||||||||||||||||||
Scriptaculous Effects for vBulletin with User Dialogs
Developer Last Online: Jun 2009
This project is cancelled.
Show Your Support
|
Comments |
#22
|
||||
|
||||
Quote:
Code:
<!-- LOGOUT --> <if condition="$show['member']"> <td width="57" height="29"><a href="#top" onclick="scriptaculous_log_out()"><img id="nav_logout" src="$stylevar[imgdir_misc]/navx_logout.gif" width="57" height="29" border="0" alt="Logout" /></a></td> Quote:
|
#23
|
||||
|
||||
Hey Michael - thanks for responding and giving me a hand. I tried changing my LOGOUT code, but when logging out, I get the following 404 page...
404 Not Found The requested URL /login.php?do=logout&logouthash=41f7689411006c511fc c23073a361f66 does not exist. |
#24
|
||||
|
||||
Quote:
HTML Code:
<div id="dialog_logout" style="display:none; position: absolute; top: 150px;"> <table cellpadding="0" cellspacing="0" border="0" width="100%" align="center"><tr><td align="center"> <table class="tborder" cellpadding="6" cellspacing="1" border="0" width="50%" align="center"> <tr><td class="tcat" style="padding: 5px;">Log Out?</td></tr> <tr><td class="alt1">Are you sure you wish to logout?</td></tr> <tr><td class="tfoot" align="center"><input class="button" type="button" value="Yes" onclick="window.location='login.php?do=logout&logouthash=';" /> <input class="button" type="button" value="No" onclick="dialogClose('dialog_logout');" /></td></tr></table> </td></tr></table> </div> HTML Code:
<div id="dialog_logout" style="display:none; position: absolute; top: 150px;"> <table cellpadding="0" cellspacing="0" border="0" width="100%" align="center"><tr><td align="center"> <table class="tborder" cellpadding="6" cellspacing="1" border="0" width="50%" align="center"> <tr><td class="tcat" style="padding: 5px;">Log Out?</td></tr> <tr><td class="alt1">Are you sure you wish to logout?</td></tr> <tr><td class="tfoot" align="center"><input class="button" type="button" value="Yes" onclick="window.location='/forums/login.php?do=logout&logouthash=$bbuserinfo[logouthash]';" /> <input class="button" type="button" value="No" onclick="dialogClose('dialog_logout');" /></td></tr></table> </td></tr></table> </div> |
#25
|
||||
|
||||
Alright, we're getting closer... and yes, I've running vBadvanced CMPS as my frontend.
After editing the dialog_logout template, I was not able to save it due to the following error: PHP Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING I checked the code and found a tick inside the logouthash bracket instead of outside... logouthash=$bbuserinfo['logouthash]';" I just moved the tic outside the bracket, and the template saved just fine. Now when I try to log out, the 'Yes' button does nothing, but the 'No' button returns me back to the initial page (fades-in). We're getting closer. I've also attached a few screenshots. One include the page that appears with no dialog; only the close button. I appreciate your time helping me with this. Maybe once we get this working you can use this in an install txt file for those that use vBadvanced CMPS. |
#26
|
||||
|
||||
Wrong tick then. I corrected the typo in my post above - it should save now.
|
#27
|
||||
|
||||
Quote:
Now on to a few other things I just tested out... The opacity of the msg box is matching that of the background, or the background is mimicking a mask. I have to check on my PC, but while viewing my site thru Firefox on my Mac laptop, the MSG box is very dim - almost like it's dimming with the background (Screenshot 1). Secondly, while viewing my site thru Apple's Safari, the dialog box not only does the same thing I mentioned above, but it also resizes the box and throws it to the left (Screenshot 2). Before I left work, I noted that on my work PC, the dialog ox was centered fine, but I don't recall the opacity issue. Thanks. |
#28
|
|||
|
|||
This has some very good potential however can I request this.
Make another option to show for a specific user (username or userid). That way if a user is misbehaving I can then show them a pop up and hopefully they will get the point to stop. I think this would be a really cool idea. Also if you could with this specific idea, have options. eg. show popup every x minutes. and i may think of some more later. nice work so far, but the above would make this stand out even more ^^ |
#29
|
|||
|
|||
With this hack are we able to have a popup once every while for things such as 'vote for us' that doesnt come on too much, but at a good enough rate to get both votes and not annoy members?
Time limit perhaps? 1 popup a day? |
#30
|
||||
|
||||
Quote:
|
#31
|
||||
|
||||
Quote:
And thanks for the great hack.. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|