![]() |
Forumdisplay Warning Message
Forumdisplay Warning Message
What does this do? This modifications adds the ability to give specific forums "warning messages" that are shown to the user before he/she enters the forum. For example: the user enters a forum that is intended for adults; the user enters this forum, is presented with the warning message explaining as much, and he/she can then choose to proceed into the forum or return back to where they were. Installation 1. Import the Product XML and upload the two images to your /images/misc folder. 2. Configure the Warning Message through the Forum Manager. 3. Setup the Global Options through the vBulletin Options menu. Features -Customizable message per forum -Control background color of pop-up -Control opacity of background layer behind pop-up -Cookie options allow you to enable users to permanently disable messages or show them once per session -Exclude specific Usergroups from having to view pop-ups -Control dimensions (height and width) and coordinate position of pop-up Version History 1.00 - Initial Release 1.01 - Added table prefixes 1.02 - Added option for cookie control 1.03 - Fixed session cookie bug; added ability to exclude usergroups from warning pop-ups; changed data type for better compatibility 1.04 - Added option for height/width and position control of pop-up Please click Install if you use this modification |
thank you for share this addon is nice will test later .
|
Thank you very much. This could be good for future reference.
|
Whoa... this is reaaaaly cool dude.
*Clicks Install* |
Hi,
I'm getting this error: Database error in vBulletin 3.6.7: Invalid SQL: ALTER TABLE `forum` ADD `kirky_splash` VARCHAR( 1500 ) NOT NULL; MySQL Error : Table 'blog.forum' doesn't exist Error Number : 1146 |
When installing the product, you get a database error... I dug into your product xml and found a few things you want to change.
The install and uninstall code only worked after making these changes. INSTALLCODE Look for the following... Code:
<installcode><![CDATA[$db->query_write("ALTER TABLE `forum` ADD `kirky_splash` VARCHAR( 1500 ) NOT NULL");]]></installcode> Code:
<installcode><![CDATA[$db->query("ALTER TABLE `" . TABLE_PREFIX . "forum` ADD `kirky_splash` VARCHAR( 1500 ) NOT NULL");]]></installcode> Look for the following... Code:
<uninstallcode><![CDATA[$db->query_write("ALTER TABLE `forum` DROP `kirky_splash`");]]></uninstallcode> Code:
<uninstallcode><![CDATA[$db->query("ALTER TABLE `" . TABLE_PREFIX . "forum` DROP `kirky_splash`");]]></uninstallcode> MISC IMAGES PATH Look for the following... Code:
defineheader: '<div style="padding: 5px; color: white; font: bold 16px Verdana; background: black url(images/misc/blockdefault.gif) center center repeat-x;border-bottom:1px solid #373737;"><a style="position:absolute; top: 2px; right: 5px" href="javascript:splashpage.closeit()" title="Skip to Content"><img src="images/misc/skip.gif" border="0" width="114px" height="23px" /></a>$vboptions[splashtitle]</div>', Code:
defineheader: '<div style="padding: 5px; color: white; font: bold 16px Verdana; background: black url($stylevar[imgdir_misc]/blockdefault.gif) center center repeat-x;border-bottom:1px solid #373737;"><a style="position:absolute; top: 2px; right: 5px" href="javascript:splashpage.closeit()" title="Skip to Content"><img src="$stylevar[imgdir_misc]/skip.gif" border="0" width="114px" height="23px" /></a>$vboptions[splashtitle]</div>', |
A simple "you forgot table prefixes" would have sufficed. :)
|
Working fine now :)
thx ! |
does it appear once ?
|
A simple "Thanks" would have been nice too :)
|
Thanx :) = Nice share!
Jacquii. |
Thanks for this Kirk Y, exactly what i was looking for. Great mod!
|
Installed and working perfectly.
Thanks |
Before installing, can you answer the question of it can be made to display for a user only ONE time based upon a stored value or cookie?
I really want this but I dont want to burden users every time they open a forum. Thank you for your efforts. |
Good idea. Thanks.
|
Thank you, I really need this one. :)
|
Quote:
|
nice addon kirk...thanks for the release...good work... ;)
|
Great hack Kollam003 clicks install
|
Thanks I NEEDED!
|
Quality ;)
|
Great mod.
If it is slightly extended, so that you can set the warning so it automatically leads further to the forum, it can be used for adds, contest announcements, general info, etc. |
work with 3.6.5?
|
Quote:
|
Can I in the HTML code, add a sponsorship or Ad?
|
Quote:
|
Quote:
|
Does this affect the whole forum? I'd use it if I could make the message show on only the forums that I chose, Does this do that?
Thanks a lot for the share. |
Quote:
Quote:
|
Quote:
That would be tremendously useful.... Great addition. |
Quote:
|
This is a quality mod.
Thanks for your time Kirk. |
Quote:
|
Quote:
|
Yeah, definitely waiting in anticipation for the next version
|
let me say... very nice disclaimer... i really like the fact that it dont continue to pop up for the same user unless he deletes his/her cookies.. really nice..
|
Great MOD! I would love to have this on a per post basis.
Reason being, many posts have specific content and it would be great if members could alert others accordingly. Any chance it could work at that level? |
Quote:
ie: https://vborg.vbsupport.ru/showpost....3&postcount=37 There's really no way to display this kind of warning for specific posts. I imagine it could be possible to display a warning above each postbit - but that's going beyond the intended function of this modification. |
Can you make it so it displays when a users enters the forum like right when they type YOURFORUM.com and it pops up..
|
Quote:
|
All times are GMT. The time now is 10:34 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|