vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=34)
-   -   Forum Display Control Version 0.7 Beta (DOWNLOAD READY) (https://vborg.vbsupport.ru/showthread.php?t=80864)

why-not 05-01-2005 10:00 PM

Forum Display Control Version 0.7 Beta (DOWNLOAD READY)
 
IF YOU HAVE A PROBLEM WITH THIS MODE POST YOUR PROBLEM! DO NOT WASTE MY TIME WITH STUFF NOT RELATED TO THIS MOD

IF THE MOD EFFECTS OTHER MODS DO NOT POST THAT HERE. THIS WAS NOT MADE TO WORK WITH OTHER MODS. THIS IS A BETA MOD FOR FORUM DISPLAY ONLY!


Forum Display Control Version 0.7 Beta

The forum display control is a simple to use control that will allow your members more easier viewing options. It's fully controled by the Adminstrator so that only forums and categories that allowed to be moved or hidden can be. It follows all permissions that each forum and category uses so that members only see what they are allowed to view. Unregistered members are not effected by the display options because the vBulletin default view is loaded in that instance.


The control is easy to install (2) script edits in one (1) script and the forum control is ready to be used! The templates, language phrases can be loaded via the Admin Panel! The control includes (3) new scripts (1) forum front end script and (2) include scripts, (1) for the front end back end and the other for the adminstrator back end! The admin panel also has (6) edits in (1) admin script (forum.php) The database adds (3) rows to the datastore table and (1) new column for user table!

I was going to do this with JavaScript but so many browsers do not support someof the things that I was needing to do, so everything is done in PHP scripting with only a very minor touch of basic JavaScript for the form actions.

There is full online demo at my mod development forum!

http://forum.ya-right.com

Please make an account to demo the control.

The control can be access by the little icon shown in the image below. As always if anyone needs help or for me to install any mod of my just ask!





Sonia

why-not 05-02-2005 04:21 AM

s/1 Special Notes...

If your using any styles from vBStyles or extremepixels, you will need to do (1) extra edit in the './includes/function_forumlist.php' and (1) edit to template 'forumhome_forumbit_level1_nopost'. This is because the first category is hard coded in that template using the variable '$forumid'....

The install has info on how to make it dynamic so you can move categories around without messing up the display!

Look in the folder './other' in the install for this information!

e/1 Special Notes...

Niceboy 05-02-2005 04:23 AM

Quote:

Originally Posted by why-not
reserved...

whynot thankyou very much i'am the first one who will install this hack :)

Lionel 05-02-2005 08:48 AM

couple of typos in forum.php. What's in red was missing :-)

Quote:

print_cells_row(array($vbphrase['forum'], $vbphrase['controls'],

$vbphrase['display_order'], $vbphrase['moderators'], '<div align=\'center\'>' . $vbphrase['allow_move'] . '</div>', '<div

align=\'center\'>' . $vbphrase['allow_hide'] . '</div>'), 1, 'tcat');

Lionel 05-02-2005 09:12 AM

The change in index.php is interfering big time with arrange subforums in columns hack. First it breaks the first status icon in each category, then it totally disabled the above hack.

Lionel 05-02-2005 09:39 AM

And also looks like if on homepage there is a "act as forum" instead of category, it skips it, does not appear on the list. Only what is below a category does.

Polo 05-02-2005 12:41 PM

interesting... but I would suggest making a global test user.... so that everyone can try it out... just my suggestion...

why-not 05-02-2005 01:05 PM

Quote:

Originally Posted by Polo
interesting... but I would suggest making a global test user.... so that everyone can try it out... just my suggestion...

Sometimes it's ok to share a login, but because this control is based on each user, I did not want people trying it to be interfered with someone else trying it! Also the sign up does not make you have to wait for a conformation so what is the problem?

Are you lazy? :rolleyes:


Sonia

Polo 05-02-2005 01:21 PM

Ok...? :rolleyes:
Quote:

Originally Posted by why-not
are you lazy? :rolleyes:

Quote:

Originally Posted by Polo
Just my suggestion


why-not 05-02-2005 01:29 PM

Quote:

Originally Posted by Lionel
The change in index.php is interfering big time with arrange subforums in columns hack. First it breaks the first status icon in each category, then it totally disabled the above hack.


You know if you PM me saying Sonia can you make this work for this other mod I would show you how to do it, but posting stuff like that does not help me in anyway develop this mod!


Also thank you for the report of the $vbphrase in the admin script not being done right! I'll fix that when I release the Admin Update this morning!


Sonia


All times are GMT. The time now is 11:05 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.01152 seconds
  • Memory Usage 1,739KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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