PDA

View Full Version : Forum Home Announcement


rogersnm
06-10-2006, 10:00 PM
Forum Home Announcement

vBulletin 3.5.4 and vBulletin 3.6 Beta 1
www.vBHackers.com (http://www.vBHackers.com)

What this does
Allows you to add a announcement to The forum home.

To do list...
Time to install: As long as it takes you to import a product :)
New Templates: 1
Template Edits: 0 (1 (easy) only if you have installed v1.0)
New Files: 0
New Phrases: 9
New Plugins: 11. Import product-nicks_homeannoncement.xml

ONLY DO THIS STEP IF YOU HAD VERSION 1.0 INSTALLED
2. In template FORUMHOME:
FIND
$nick_annouceAND REMOVE

Help & Support
Before asking for support Please make sure you have done all necessary changes! If you still need support please post a reply here.

Planned Updates
None, post ehre if you have any suggestions.

Hope you like, feedback welcomed.

Remeber to Press:
https://vborg.vbsupport.ru/ (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=118314)

El-Gazaly
06-11-2006, 02:26 PM
Thanks For It
First Intsall

Barakat
06-12-2006, 12:20 AM
need it indeed ......

Snake
06-12-2006, 07:01 AM
Thanks, very useful! :)

rogersnm
06-12-2006, 07:19 PM
just as a note new version released :) any suggestions please post here, i can't really think of anything more to put. i may be realeasing a multipage version (puts it at the top of everypage) after i realease the vb3.5.x compatible one...

Staxed
06-16-2006, 03:56 PM
after i installed this...i get a page not found error whenever i try to get into the products management screen or plugins screen...i haven't done anything else but install this product...anyone else have this problem??

rogersnm
06-16-2006, 03:58 PM
Try reimporting the product and allow overide. Have you upgraded to beta 2? It sounds like a beta bug to me.

Staxed
06-17-2006, 04:04 AM
Try reimporting the product and allow overide. Have you upgraded to beta 2? It sounds like a beta bug to me.

I can't...i can't even get to the product page...

rogersnm
06-17-2006, 05:09 AM
Do you get an internal server error?

Staxed
06-17-2006, 05:43 AM
i'm just getting the 404 error...i can't check my server logs at all because i'm out of country with the military behind an retarded firewall...can't get into cpanel or whm at all while i'm here.

i do have ssh access though...but i do everything through whm so not sure how to do it through ssh...is there a way to check the logs via ssh?

i also but in a bug report at vb.com...they haven't responded yet but i'll see what they say about it as well.

rogersnm
06-17-2006, 05:44 AM
I wouldn't know i don't use it. Are you sure you uploaded all the files?

Staxed
06-17-2006, 05:48 AM
yup, i'm positive, i've even just reuploaded everything this morning to make sure. It didn't start happening until after I imported the product (though i'm not saying it's your product...it might have been any product...not sure since i can't disable it and try another one.)

rogersnm
06-17-2006, 05:49 AM
Can you read the pm

charlub
06-17-2006, 09:07 AM
I'm having the exact same problem.


after i installed this...i get a page not found error whenever i try to get into the products management screen or plugins screen...i haven't done anything else but install this product...anyone else have this problem??

rogersnm
06-17-2006, 09:14 AM
I ahve fixed iresfire's problem and he gave me a donation (thank you) He had plugin manager reloaded. It managed to latch on during the upgrade and messed up the pluygin system just do me 1 think. Go to your forums, Go to admin cp, right click on Pruduct Manager, Open in new window, tell me what the link is. If it is advplugins.php then you have the same problem as him. Just upload the new plugin mananger for vb3.6 reloaded and then run this query: ALTER TABLE `plugin` ADD `flag` TINYINT( 1 ) UNSIGNED DEFAULT '0' NOT NULL (if ou have a table prefix please add it before plugin` eg. so if your prefix was vb it would be `vbplugin`) and then manually add this plugin:
Title: Plugin System Adjustments
Hook Location: admin_global
Execution order: 1
and then for contents add:if (preg_match('/plugin\.php$/', $_SERVER['PHP_SELF']))
{
if (!$_REQUEST['do'] OR $_REQUEST['do'] == 'modify' OR $_REQUEST['do'] == 'product')
{
exec_header_redirect('advplugins.php');
}
if ($_REQUEST['do'] == 'updateactive')
{
if (!function_exists('plugin_updateactive_handler'))
{
function plugin_updateactive_handler()
{
exec_header_redirect('advplugins.php');
}
}
ob_start('plugin_updateactive_handler');
}
if ($_REQUEST['do'] == 'edit' OR $_REQUEST['do'] == 'add')
{
if (!function_exists('plugin_edit_handler'))
{
function plugin_edit_handler($output)
{
global $vbphrase, $vbulletin;

$output = str_replace("<input type=\"reset\"", "<input type=\"submit\" class=\"button\" tabindex=\"1\" name=\"return\" value=\"$vbphrase[save] &amp; $vbphrase[reload]\" accesskey=\"e\" />\n<input type=\"reset\"", $output);
return $output;
}
}
ob_start('plugin_edit_handler');
$vbulletin->nozip = true;
}
if ($_REQUEST['do'] == 'update' AND $_REQUEST['return'])
{
if (!function_exists('plugin_update_handler'))
{
function plugin_update_handler($output)
{
global $_REQUEST;
return str_replace('plugin.php', 'plugin.php?do=edit&pluginid=' . $_REQUEST[pluginid], $output);
}
}
$vbulletin->nozip = true;
ob_start('plugin_update_handler');
}
} Then the plugin system should work. So you can import the plugin manager reloaded xml properly so it has all the phrases.

MR-2ZZ
06-30-2006, 04:41 AM
This should be a stock feature!!! Very nice!

curtisstanier
07-02-2006, 10:35 PM
Amazing Addon Thanks :) *Clicks Install*

a simple fa?ade
07-07-2006, 05:29 PM
This is a fine (although simple) hack.

Kudos for making it though. :)

* a simple fa?ade clicks Installed.

Maxman1544
07-09-2006, 03:41 PM
Thanks! This is pretty useful.

Ophelia
07-15-2006, 06:20 PM
I get the following error when I try to install:

Database error in vBulletin 3.5.4:

Invalid SQL:

### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO vb_plugin
(`active`, `executionorder`, `title`, `hookname`, `phpcode`, `product`)
VALUES
('1', '1', 'Forum Home Announcement [Template Alteration and Variables]', 'global_start', 'eval(\'$nick_announce = \"\' . fetch_template(\'nick_announce\') . \'\";\');\r\n switch ($vbulletin->options[\'announce_position\'])\r\n {\r\n case 1:\r\n $Position = \'<!-- what\\\'s going on box -->\';\r\n break;\r\n\r\n case 2:\r\n $Position = \'<!-- end what\\\'s going on box -->\';\r\n break;\r\n\r\n case 4:\r\n $Position = \'<!-- main -->\';\r\n break;\r\n\r\n default:\r\n $Position = \'$navbar\';\r\n break;\r\n }\r\n\r\n$vbulletin->templatecache[\'FORUMHOME\'] = str_replace($Position, $Position . \' $nick_announce\', $vbulletin->templatecache[\'FORUMHOME\']);', 'nicks_homeannoncement');

MySQL Error : Unknown column 'executionorder' in 'field list'
Error Number : 1054
Date : Saturday, July 15th 2006 @ 03:18:27 PM
Script : http://www.site.net/forum/boss/plugin.php
Referrer : http://www.site.net/forum/boss/plugin.php?do=productadd
IP Address : my number
Username : myname
Classname : vb_database

rogersnm
07-22-2006, 02:31 PM
please use the 3.5 version: https://vborg.vbsupport.ru/showthread.php?t=118315

iran.gs
08-11-2006, 12:16 PM
lnstalled works like a charm

cbr929rrerion
08-14-2006, 03:26 PM
anyway to get this to work on 3.5?

cbr929rrerion
08-14-2006, 03:28 PM
Ignore my stupidity... Got it.. installed

cbr929rrerion
08-14-2006, 04:04 PM
Installed.. Sweet.. This will help alot..

I edited it a little to fit my theme.. Looks really nice...

Pedro!
08-14-2006, 05:42 PM
So glad I found this. Thanks alot dude.

* Pedro! thinks it would prove very useful for placing ads too :D

(Installed).

Ivander
08-14-2006, 06:00 PM
Thank you.Installed

Simple but good !

One question: Maybe you can add a option to show the "Announcment Box" only for registered User's of the Forum ?

Excuse my bad english

Wheemer
10-06-2006, 10:07 AM
Can the settings page have a righ text editor, and can the input box be larger?

Virtuosofriend
10-10-2006, 06:14 AM
You could make it that way so it gets the most recently created thread from a selected forum and show its title on forumhome ;).

gullystation
12-04-2006, 04:03 PM
Hi there, ive installed it and it works brilliantly. Just one thing to ask though. Is it possible to get it above the navbar?

steadicamop
12-05-2006, 05:50 PM
Great hack - how easy it is to make this usergroup based? Basically I want all other usergroups other than not logged in/not registered - so viewable only by members.....

Cheers

Mudvayne
01-02-2007, 07:15 AM
Hey nice hack. But I've got one problem.
Uncached templates: nick_announce (1)
You can add a plugin to cache template. 'll you please?

Also I need a small help. I'm using custom skin & Zero Tollerence's 'Welcome Panel'. So 'll it be possible to show the block above 'Welcome Panel'?

One more request. You can add collupse option :).

Mudvayne
01-02-2007, 02:28 PM
Once again, I've found uncached template in everywhere in my forum. I 'll post the screenshot if u need.

GrossKopf
01-28-2007, 03:36 AM
Ok, I'm lost.. what exactly does this do? I imported the xml file, but now what?

Veer
04-17-2007, 03:35 PM
How can i turn announcement on all vb pages? or forumdisplay and showthread?

by the way.. I have just edited the plugin and added following codes:
$vbulletin->templatecache['FORUMDISPLAY'] = str_replace($Position, $Position . ' $nick_announce', $vbulletin->templatecache['FORUMDISPLAY']);
And its works fine on Forum Display.

Terminatoronly
04-18-2007, 03:43 PM
Installed

Fungsten
04-20-2007, 01:51 AM
Change the format so it's like using the regular announcements? Thanks.

wickedstangs
06-07-2007, 03:54 AM
installed, and works fine on 3.6.7 PL1

Bree
07-09-2007, 12:03 AM
Holy Kittens that was quick and works beautifully! Thanks muches!

Always, Bree
vB 3.6.7 PL1

roxxx
07-12-2007, 07:01 AM
Question,

Is it possible that other user can modify this announce ?

maoreactor
10-27-2007, 09:29 AM
hey :)
is it possible to add it to CMPS 3.0?

badboyz
10-29-2007, 01:51 AM
thanks man...

afmarko99
10-29-2007, 06:08 AM
It works great. Thanks.

CLF
03-31-2008, 06:18 AM
3.6.7. PL1 - works great!
THANK YOU! INSTALLED! :)

maoreactor
04-24-2008, 07:48 PM
since there's no answer, i figured it out myself.

add on adv_portal:

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat">{$vboptions['nick_announce_title']}</td>
</tr>
<tr>
<td class="alt1">{$vboptions['nick_announce_conents']}</td>
</tr>
</table><BR>

enjoy.

sdavis2702
04-26-2008, 11:57 PM
Very nice I love it!

Charlie98902
05-03-2008, 01:52 AM
This mod works on 3.7.0 gold as well. Might want to port it over in that section now too?

CurtisK
05-11-2008, 04:49 PM
just a message to say working perfectly on 3.7.0

good work!

deLi_kurT
05-23-2008, 09:28 AM
Thanks - installed

horussjr
03-05-2010, 06:42 PM
vb4.0 update?

Fungsten
03-08-2010, 07:50 PM
vb4.0 update?

Ditto.

buddysqrrl
05-02-2010, 05:56 AM
Easy install and works great! thanks :D