![]() |
|
#21
|
|||
|
|||
|
Can you show what you have between ..
Code:
//------------------------------------------------------------------------ // begin configuration //------------------------------------------------------------------------ Code:
//------------------------------------------------------------------------ // end configuration - no other changes necessary //------------------------------------------------------------------------ |
|
#22
|
|||
|
|||
|
Oh .. I've sort of fixed my problem .. (dleblanc take note) ..
Within "adv_portal_announcementbit" Find both instances of: Code:
$announcement[forumid] This will work if all you want to show are announcements which are forum wide .. ie you've ticked "All Forums" when creating the announcment .. |
|
#23
|
|||
|
|||
|
Slave,
That work and also I noted that if you create an announcements and put it in a single forum and not All Forums it still will display Latest Announcements by overiding the All forums as the lastest announcements enter. Cool..... What if you want to keep let say the last 3 announcements displayed is that possible?
|
|
#24
|
|||
|
|||
|
just edit your announcement.php file within your modules folder .. change ..
Code:
//How many announcements to display $maxannouce = 1; Remember that you have to have that many current announcements else you'll only get the number of current announcements showing .. (if that makes sense!) ..
|
|
#25
|
|||
|
|||
|
say ..
Code:
//How many announcements to display $maxannouce = 3; |
|
#26
|
|||
|
|||
Thanks I miss that one..guess that my Alzheimer’s kicking in again. $maxannouce = 3; |
|
#27
|
|||
|
|||
|
THANKS! Easy to install and use. Working great w/ vb 3.06 and CMPS1.01
|
|
#28
|
|||
|
|||
|
nice add on!! thanks for sharing!
|
|
#29
|
|||
|
|||
|
Quote:
Code:
//Forum(s) to pull announcements from $forumid = 92; //How many announcements to display $maxannouce = 1; //How many characters to display per announcement $maxchrs = 2000; //Only change this by reference above $sqltext = "forumid = $forumid"; Thanks |
|
#30
|
|||
|
|||
|
One change I made was to modify the behaviour for when there are no announcements. The initial design still showed the banner of "Latest Announcement". With this change the block disappears completely if there aren't any current announcements.
At the end of announcements.php change Code:
eval('$home[$mods[\'modid\']][\'content\'] .= "' . fetch_template('adv_portal_announcements') . '";');
Code:
if ($announcebits != '')
{
eval('$home[$mods[\'modid\']][\'content\'] .= "' . fetch_template('adv_portal_announcements') . '";');
}
__________________
Tom Morris Porsche Boxster discussion forum. Today's Conservative discussion forum. |
|
#31
|
|||
|
|||
|
Quote:
Thanks Tom ..
|
|
#32
|
|||
|
|||
|
I am about to try this. It looks like just what I need.
Quote:
|
|
#33
|
|||
|
|||
|
What about Global Annoucements?
I mean.. what should i put in the forum id to pull from configuration for Global Annoucements?
__________________
Game Downloads |
|
#34
|
||||
|
||||
|
Quote:
__________________
Patience is something I learned the hard way! I drove National Express coaches for 6 years.... ![]() ![]() |
|
#35
|
|||
|
|||
|
I installed this, very easy and works great! Thanks it was exactly what I was looking for!
|
|
#36
|
|||
|
|||
|
Hello from Germany,
sorry, but i couldn´t get this hack to work with CMPS! May be i don´t understand how to create modules and/or templates. So if any of you could specify a detailed information to build this hack i would be glad to see and thanks for your help. Greetings Klaus |
|
#37
|
|||
|
|||
|
Has anyone actually gotten this module working in vBadvanced 2.0 and vBulletin 3.5. If so can you either download your module and give instructions on how to install or just use the vBa CMPS download/Upoad feature.
|
|
#38
|
|||
|
|||
|
if anyone needs help AIM me at mikecp421, I'll do what I can as it was easy for me to install on my forum
edit: FYI I am running this on 3.0.8 and 3.0.9 not 3.5 Last edited by Mikecp421; 10-08-2005 at 01:45 PM. |
|
#39
|
|||
|
|||
|
Hi I'm a noob to vBulletin, I wanna display this on my front page, Could someone give me a step by step plan on what im doing, I've attempted twice and I've gotten
adv_portal_announcements adv_portal_announcementbit adv_portal_announcements adv_portal_announcementbit sitting at the top of my page, vBulletin Version 3.0.7 CMPS v2.0.0 (vB 3.5) |
|
#40
|
|||
|
|||
|
Quote:
What do we fill in here? // get announcements $announcebits = ''; $announcements = $DB_site->query(" SELECT |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Adding Dynamic Forum Announcements to VBa CMPS | Fibe | Troubleshooting / "How do I..." Questions | 7 | 08-15-2005 10:54 PM |
| CMPS Can't show Forum and Latest Topics on the same page | george bray | Bugs & Other Issues | 3 | 09-12-2004 02:45 PM |
| Problems with Dynamic Forum Announcements | kall | Troubleshooting / "How do I..." Questions | 11 | 07-08-2004 09:48 AM |
| Seperate CMPS turn off from forum? | dbassett74 | Troubleshooting / "How do I..." Questions | 1 | 06-29-2004 11:49 AM |