Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 23 Mar 2017, 06:54
keharris53 keharris53 is offline
 
Join Date: Jun 2007
Logout Popup Box

Hello,
Can anyone tell me where I can find the code that will allow me to redesign the logout popup box? Thank you!
Reply With Quote
  #2  
Old 23 Mar 2017, 19:43
PinkMilk PinkMilk is offline
 
Join Date: May 2010
Real name: Milk Pink
The logout popup is created with default browser based dialog box with the help of javascript to trigger it.

Both FORUMHOME and navbar templates have this link:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

The part highlighted in red is the trigger and as you see theres nothing to redesign, however you can make your own...


This is only basic to get you going

Create 2 functions 1 to show and 1 to hide a custom dialog/modal box created with html and CSS:

Add to headinclude template:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.



Now change both instances of links to (FORUMHOME and navbar templates):

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.



This is the CSS that designs the logout box this needs to be added to Additional CSS in style manager:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

This can obviously be tweaked to your own taste.


and this is the new logout box it includes 2 links, 1 to log out and the other to cancel just like the original, add to top of header template:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

again content and design can obviously be tweaked to your own taste.
Attached Images
File Type: jpg custom_logout.jpg (53.0 KB, 30 views)
Reply With Quote
  #3  
Old 23 Mar 2017, 23:07
keharris53 keharris53 is offline
 
Join Date: Jun 2007
Thank you PinkMilk! I'm going to start working on this. I've been messing around tweaking the forum and this piece is just out of place. I appreciate your quick response!
Ken
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mini Mods Login Popup - Adds a DHTML popup login form w/ forgotten password & register links Analogpoint vBulletin 3.6 Add-ons 41 28 May 2010 19:18
Miscellaneous Hacks PP-Popup - Photo-Popup for Photopost cellarius vBulletin 3.7 Add-ons 20 19 Jan 2009 22:01
Logout Button replacing Logout text TheMusicMan vBulletin 3.5 Template Modifications 14 25 Dec 2007 18:33
Popup Box on Full PM Box Scott MacVicar vBulletin 2.x Full Releases 26 17 Jun 2003 23:23



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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 02:09.

Layout Options | Width: Wide Color: