vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Global Announcements (https://vborg.vbsupport.ru/showthread.php?t=104714)

z.j.c 01-24-2006 06:48 PM

i have tried many options and your plug in wont work on my forums have a look this is the forums with the code added at the bottom it doesnt disply anything and i have made sure there nothing under it and its at bottom
www.thevlife.com/forum

SCRIPT3R 01-24-2006 10:38 PM

Quote:

Originally Posted by z.j.c
i have tried many options and your plug in wont work on my forums have a look this is the forums with the code added at the bottom it doesnt disply anything and i have made sure there nothing under it and its at bottom
www.thevlife.com/forum

where specifically (what template) did you add the "code"... i checked your scource code and there's no correct "code" in place to display the global announcements. do you know what "code" you're supposed to use?

z.j.c 01-25-2006 05:51 PM

yes i do

snoopy3 02-06-2006 11:21 AM

Hi Marky,

Is it possible to set it up so that the announcement would only show in one particular forum, if so will donate :)

LBSources 02-06-2006 12:25 PM

Quote:

Originally Posted by snoopy3
Hi Marky,

Is it possible to set it up so that the announcement would only show in one particular forum, if so will donate :)

seems to be the new trend.. give the dog a bone to get him to do a trick.. no one donates to show thanks initially .. _then_ ask for something and expect the author to code your request out of good will..

:tisk tisk:

Lenny

Marky 02-06-2006 02:18 PM

Quote:

Originally Posted by snoopy3
Hi Marky,

Is it possible to set it up so that the announcement would only show in one particular forum, if so will donate :)

It may be possible to be done - i'll look into it - but cant promise anything.

BaconDelight 02-06-2006 04:16 PM

Quote:

Originally Posted by snoopy3
Hi Marky,

Is it possible to set it up so that the announcement would only show in one particular forum, if so will donate :)

A simple way to do that is to cerate a child style from your main one, add the the code to the navbar template in the child style, and set whichever forum you want the announcement to be shown in to use the child style.

Marky 02-06-2006 04:58 PM

Quote:

Originally Posted by BaconDelight
A simple way to do that is to cerate a child style from your main one, add the the code to the navbar template in the child style, and set whichever forum you want the announcement to be shown in to use the child style.

Good idea :p
Seems fool proof to me until I get it into the modification :)

snoopy3 02-07-2006 10:20 AM

thanks, works well.

Quote:

Originally Posted by BaconDelight
A simple way to do that is to cerate a child style from your main one, add the the code to the navbar template in the child style, and set whichever forum you want the announcement to be shown in to use the child style.

nice one, thx!

corbint 02-11-2006 01:39 AM

good mod. installed!

MentaL 02-12-2006 01:26 AM

awesome

http://forum.ragezone.com

Just needs bb code suppot.

monkeywarplane 02-12-2006 02:22 AM

On version 1.2 I am getting the following error...

XML Error: unknown at Line 0

Stuart

Marky 02-12-2006 09:53 AM

Quote:

Originally Posted by monkeywarplane
On version 1.2 I am getting the following error...

XML Error: unknown at Line 0

Stuart

Are you making a fresh install or upgrading from an older version?
If your upgrading, try uninstalling your old version and re-installing the modification by using the fresh install product of version 1.2

firstrebel 02-12-2006 01:03 PM

Very usefull, thanks. *klix install*

Bob

Marky 02-12-2006 06:59 PM

Quote:

Originally Posted by firstrebel
Very usefull, thanks. *klix install*

Bob

Thanks :)
Glad it's useful ^_^

monkeywarplane 02-12-2006 09:36 PM

Quote:

Originally Posted by Marky
Are you making a fresh install or upgrading from an older version?
If your upgrading, try uninstalling your old version and re-installing the modification by using the fresh install product of version 1.2

I figured it out. Works great, man. Thanks!

Stuart

Marky 02-13-2006 06:18 AM

Quote:

Originally Posted by monkeywarplane
I figured it out. Works great, man. Thanks!

Stuart

Good job :)
Thanks

|oR|Greg 02-13-2006 06:12 PM

Installed and working, but I have 1 suggestion, and 1 question.

Suggestion, BB code compatible, it's nice that HTML works, but still, BB code would be nice too.

Question, Is there a reason it doesn't display on a vBAdvanced home page? I tried directly editing the vBAdvanced templates with the $globalannounce and it's as if it doesn't exist no matter where I put it (even though I shouldn't have to since it's in the NavBar).

Any idea?

|oR|Greg 02-13-2006 06:19 PM

I figured it out...

Anyone that wants to add these announcements to the vBa home page, open up includes/vba_cmps_include_bottom.php

Toward the bottom of the script find:

Code:

global $pages, $stylevar, $headinclude, $header, $footer, $vbulletin, $vbphrase, $stylevar, $show, $pmbox, $vba_options, $vba_style, $navbar, $cusid, $_REQUEST, $gobutton, $pagetitle, $pagecache, $db;
Add:
Code:

, $globalannounce
after the last entry, and before the ;

So it should look like:

Code:

global $pages, $stylevar, $headinclude, $header, $footer, $vbulletin, $vbphrase, $stylevar, $show, $pmbox, $vba_options, $vba_style, $navbar, $cusid, $_REQUEST, $gobutton, $pagetitle, $pagecache, $db, $globalannounce;

Marky 02-13-2006 07:29 PM

Quote:

Originally Posted by |oR|Greg
I figured it out...

Anyone that wants to add these announcements to the vBa home page, open up includes/vba_cmps_include_bottom.php

Toward the bottom of the script find:

Code:

global $pages, $stylevar, $headinclude, $header, $footer, $vbulletin, $vbphrase, $stylevar, $show, $pmbox, $vba_options, $vba_style, $navbar, $cusid, $_REQUEST, $gobutton, $pagetitle, $pagecache, $db;
Add:
Code:

, $globalannounce
after the last entry, and before the ;

So it should look like:

Code:

global $pages, $stylevar, $headinclude, $header, $footer, $vbulletin, $vbphrase, $stylevar, $show, $pmbox, $vba_options, $vba_style, $navbar, $cusid, $_REQUEST, $gobutton, $pagetitle, $pagecache, $db, $globalannounce;

Good job :)
Thanks very much ^_^

CongTuDepTrai 02-22-2006 01:04 AM

how can we make this mod for each forum ID, not global

Codeman05 02-25-2006 01:48 PM

Great mod, installed!
Would it be possible to exempt the "forumhome" though?

PET 02-26-2006 08:57 PM

Can you add a new option and make the table "colapse" ?

Alien 03-03-2006 01:09 AM

Hey,

This is really awesome. It's exactly what I'm looking for.

I've installed it to test it however there is one thing keeping me from using it "out of the box".. Could you change the admincp values in the next version for the font colors to work with multiple skins? If I set a color scheme for one skin, it looks absolutely horrible for other skins (unless they are all bright or all dark skins)...

The only workaround right now is to edit the globalannouncement template in each of the skins I'm running (about 5-6) and I'd rather not do that..

EDIT: It was also mentioned here -> https://vborg.vbsupport.ru/showpost....5&postcount=27 to which you said you'd look into it. Hope that's still on the 'ol to-do list!

almqdad 03-03-2006 01:18 AM

hi

great mod installed

BabyNameAddict 03-09-2006 01:03 AM

Flawless, and easy!

TYVM!

Marky 03-09-2006 02:40 PM

Quote:

Originally Posted by BabyNameAddict
Flawless, and easy!

TYVM!

Glad you like it :)
Enjoy ^_^

Treak 03-09-2006 04:45 PM

excellent hack even better hacker!

ForeverForums 03-10-2006 05:27 AM

It would be nice to see BB code enabled for this hack, i cant see to get html to work either, ive tried to insert links and it wont work right for linked text within the announcement

Treak 03-10-2006 05:59 AM

hmm thewy work fine for me.. look on my forum i have it bolded and stuff
www.lokiart.com/forums/index.php

ForeverForums 03-10-2006 10:16 AM

well i can do bold...ect but when i put in a url with the bb code it doesnt work

[*url ] website] clickable text] [/*url ] it doesnt work (this is just an example)

Marky 03-10-2006 02:17 PM

Quote:

Originally Posted by ForeverForums
well i can do bold...ect but when i put in a url with the bb code it doesnt work

[*url ] website] clickable text] [/*url ] it doesnt work (this is just an example)

([url*]|[*/url]) is a BBCode Tag - and Global Announcements does not - yet - have BBCode support.

If you wanted a link that was bold it must be written like this:

HTML Code:

<b><a href="http://www.testlink.com">Test link</a></b>
My new site will contain a lot of new html tutorials - so hopefully this will be helpful for this modification :)

Hope this helps,

Marky

Josh1 03-10-2006 04:24 PM

works with 3.5.4?

Marky 03-10-2006 04:29 PM

Quote:

Originally Posted by Josh1
works with 3.5.4?

Yes I believe it does - but I have not tested it. I think I remember someone saying it works with 3.5.4. But it should do - nothing has been changed in 3.5.4 that should affect the modification :)

ForeverForums 03-10-2006 04:51 PM

great thanks for the help, i will try that out :D

Alien 03-13-2006 01:49 AM

Yeah, it works fine on 3.5.4. All I need is support for multiple styles instead of setting one color display in Global Announcements admincp for each of the skins because I have light and dark styles.

Then it'd be a perfect addition for me. I hope to see this ability in the future.

Nathan2006 03-13-2006 03:21 AM

Great! thank you very much :D

Install

Marky 03-13-2006 02:24 PM

Quote:

Originally Posted by Alien
Yeah, it works fine on 3.5.4. All I need is support for multiple styles instead of setting one color display in Global Announcements admincp for each of the skins because I have light and dark styles.

Then it'd be a perfect addition for me. I hope to see this ability in the future.

Yup don't worry - Im working on a vB Support forum quite like vBulletin.org. Once the site is up, I will be updating practically all my modifications and start making more :)

Akagi 03-15-2006 12:46 PM

is it possible to have a vertical marquee for the announcement? something like a news ticker?

Marky 03-15-2006 06:28 PM

Quote:

Originally Posted by Akagi
is it possible to have a vertical marquee for the announcement? something like a news ticker?

This is possible. All you must do is enter the correct marquee code into the message box.

Code:

<marquee direction="up" scrolldelay="100" scrollamount="2" style="font-family: Verdana; font-size: 10px">Test Marquee Text</marquee>
If you put that into the message box - it should work, although I've not tested it. You could edit the points to modify it further, for example puting scrolldelay to 10 would speed the marquee up :)

Hope this helps :)


All times are GMT. The time now is 01:33 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01308 seconds
  • Memory Usage 1,828KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (7)bbcode_code_printable
  • (1)bbcode_html_printable
  • (16)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete