vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Request... (https://vborg.vbsupport.ru/showthread.php?t=39488)

Chris M 06-05-2002 05:52 PM

Request...
 
1 Attachment(s)
I have a hack request that I think would be good...

:bunny:Scrolling Marquees - On my new site, I would like the ability to add Scrolling Marquees to it. Now, I know this can be done by simple HTML and editing the forumhome template, but I would like a more complicated method, which would be simpler in the long run...

I would like the ability to "Edit the News" for each marquee WITHOUT having to edit the forumhome template
I would like the ability to allow Users to submit news for addition to the Marquee (with Admin approval)
I would like the ability to make a marquee, but only allow users of a certain usergroup to see it (i.e. Admins, Mods, Super Mods and any other custom usergroup I create)

Could it be done?

Satan

Dean C 06-05-2002 07:09 PM

well as for the first 3 the easiest option would be to have the "random quote on forumhome" ... and change a few things in it like "quote" to "news"... and remove the two links which allow users to add a quote and view the full list of quotes.. (the reason for this being if its news on your site then only admins should really be posting in there so they can do their posting of news thru the admin cp)

then in the forumhome_quote template it creates the quote box u will see on the main forums page... then just add your marquee tags where the quote will go (which will be your news)...

as for only certain usergroups i have no idea how to do that...

Chris M 06-05-2002 07:12 PM

Yeh...

I thought about that...

Again...I dont know how to restrict it to certain usergroups...

Im gonna see if someone else can come up with a solution...Maybe there is a hack similar to this, but I couldnt find it...

Satan


All times are GMT. The time now is 02:10 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
  • Page Generation 0.00992 seconds
  • Memory Usage 1,708KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete