Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
SCANU's Guest Warn 3 - Elegant Floating Warning for your guests Details »»
SCANU's Guest Warn 3 - Elegant Floating Warning for your guests
Version: 3.1, by Scanu Scanu is offline
Developer Last Online: Apr 2022 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 4.x.x Rating:
Released: 09-10-2011 Last Update: 07-27-2014 Installs: 330
Uses Plugins Auto-Templates
Translations  
No support by the author.

Description
This modification shows an elegant warn for all guests of your forum with the possibility to add a close button, it's a conversion of this mybb add-on. For all the features or the mod version history click here Look at the screenshots for more!

Installation

Upload the product via admincp and go in Settings->Guest Warn Settings to customize the close option etc.. Then search in stylevars for GuestWarn to customize the style.
To update just redownload and reupload the file, make sure that overwriting is set to Yes

Demo

Online demo: http://scanu.altervista.org/forum.php

Translations
  • Arabic translation by Dr.OsamA (download in the attachments) ONLY 2.7

PLEASE NOMINATE THIS MOD FOR MOTM AND CLICK MARK AS INSTALLED

Please donate to support my free works

If you like this mod see this other elegant mod for your forum: click here
To get support:
  1. Mark this mod as Installed
  2. Copy/Pasted errors or screenshots
  3. URL/link to site


Many thanks to my brother: Clear (Darkness95) that allowed me to convert his plugin and using his style. Please if there are errors in the phrases let me know.
To the coders: This mod use javascript and css but i don't want to write them in other files because i like that the mod is easy to install so you have not to upload files, the image too are situated in online server so you don't have to download and re-upload in your server. That's all

Download Now

File Type: xml Guest_Warn 2.7-Arabic by alra7ba.xml (13.6 KB, 102 views)
File Type: xml SCANU's Guest Warn 3.xml (19.7 KB, 284 views)
File Type: xml Guest Warn 3.1.xml (15.0 KB, 164 views)

Screenshots

File Type: png warn.png (22.0 KB, 0 views)
File Type: jpg Settingsguestwarn.jpg (114.7 KB, 0 views)
File Type: png thankyou.png (4.3 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #52  
Old 09-15-2011, 03:13 PM
misericorde misericorde is offline
 
Join Date: May 2011
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you

Uptaded. You can choose the color

Very Nice !!!

I like it. Nominated
Reply With Quote
  #53  
Old 09-15-2011, 09:58 PM
Dr.osamA's Avatar
Dr.osamA Dr.osamA is offline
 
Join Date: Aug 2004
Location: Syrie
Posts: 979
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent = 5 Stars

installed +translated to Arabic

Arabic trans. in att.

thank you bro and keep it up
Attached Files
File Type: xml Guest_Warn 2.7-Arabic by alra7ba.xml (13.6 KB, 5 views)
Reply With Quote
Благодарность от:
Last_Zero
  #54  
Old 09-16-2011, 06:38 AM
baerwurz baerwurz is offline
 
Join Date: Nov 2005
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice.

I am using this warn in the middle of my forum. It would be nice, to not show the box on the register Page.

Is there a possibility to do this, maybe with an if-condition?
Reply With Quote
  #55  
Old 09-16-2011, 10:26 AM
Scanu's Avatar
Scanu Scanu is offline
 
Join Date: Nov 2010
Posts: 829
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by baerwurz View Post
Very nice.

I am using this warn in the middle of my forum. It would be nice, to not show the box on the register Page.

Is there a possibility to do this, maybe with an if-condition?
Wow really cool idea i forgot it! this will be a feature of the 2.8

Quote:
Originally Posted by Dr.osamA View Post
Excellent = 5 Stars

installed +translated to Arabic

Arabic trans. in att.

thank you bro and keep it up
Thank you bro i will add the file to the first topic
Reply With Quote
  #56  
Old 09-16-2011, 12:47 PM
TEMPESTADE TEMPESTADE is offline
 
Join Date: Dec 2010
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you Uptaded Very Nice !!!
Reply With Quote
  #57  
Old 09-17-2011, 04:55 PM
Scalemotorcars's Avatar
Scalemotorcars Scalemotorcars is offline
 
Join Date: Mar 2006
Location: NC
Posts: 619
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great mod but I found a ver validation issues.

1st the 2 places in the plugin that call for <script? should include the script type. For example.

<script type"text/javascript"> That was an easy one to fix. Just changed the 2 tags.

But Im stuck on this one.

<msg.length; i++)

Heres the errors from this this line.
Code:
Line 15, Column 94: character ";" not allowed in attribute specification list
…yTagName("div");for (i=0; i<msg.length; i++) {if(msg[i].className == msgClass)…

Line 15, Column 94: element "msg.length" undefined
…yTagName("div");for (i=0; i<msg.length; i++) {if(msg[i].className == msgClass)…
✉
You have used the element named above in your document, but the document type you are using does not define an element of that name. This error is often caused by:

incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Frameset" document type to get the "<frameset>" element),
by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead).
by using upper-case tags in XHTML (in XHTML attributes and elements must be all lower-case).


Line 16, Column 54: end tag for "msg.length" omitted, but OMITTAG NO was specified
…unction(){loadMsg('msgbox'); }</script> <style>div.guestwarn {background:black…
✉
You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".


Line 15, Column 83: start tag was here
…etElementsByTagName("div");for (i=0; i<msg.length; i++) {if(msg[i].className =…


Line 16, Column 62: required attribute "type" not specified
…){loadMsg('msgbox'); }</script> <style>div.guestwarn {background:black;color:w…
✉
The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.

Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.

Line 19, Column 198: document type does not allow element "div" here; assuming missing "object" start-tag
… class="msgbox" style="display: none;"><div class="guestwarn"><a href="#" clas…
Looks like allot I know but Ill bet its mostly the same issue.

Any ideals
Reply With Quote
  #58  
Old 09-17-2011, 06:19 PM
Scanu's Avatar
Scanu Scanu is offline
 
Join Date: Nov 2010
Posts: 829
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not (and i will not) a keen of w3 validation most of the errors are for minimal code issues like
img> instead of img /> or errors like type attribute; this codes are setted by default in all the browsers so when i code i'm not careful with these problems as i said i'm not a keen of w3 validator i will not do a product that is perfect so if you are looking for w3 validation search away, regarding the <msg.length; i++) issue i will check for this in the next version. thanks bor for let me know about this
Reply With Quote
  #59  
Old 09-17-2011, 10:09 PM
Scalemotorcars's Avatar
Scalemotorcars Scalemotorcars is offline
 
Join Date: Mar 2006
Location: NC
Posts: 619
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No problem. Most if it is just filling in a few things like script type. I would love to see the fix for <msg.length; i++) That one I havent been able to debug.
Reply With Quote
  #60  
Old 09-17-2011, 11:15 PM
dallibose dallibose is offline
 
Join Date: Apr 2009
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works great with 4.0.3

thanks!!
Reply With Quote
  #61  
Old 09-18-2011, 04:29 PM
FIM FIM is offline
 
Join Date: Aug 2006
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice ty
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 08:41 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05622 seconds
  • Memory Usage 2,371KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (17)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (7)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete