Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools
Details »»

Version: , by PeF (Guest)
Developer Last Online: Jan 1970 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 03-05-2001 Last Update: Never Installs: 0
 
No support by the author.

Description:
This hack will display admin options only to moderators, super moderators and administrators.

vBulletin versions supported:
2.0 Beta 2

Files to edit:
forumdisplay.php, showthread.php

Templates to modify:
2 - forumdisplay, showthread

Number of new queries:
0

Number of new templates:
2

Size:
1,10KB

Demo:
N/A

Known bugs and issues:
Just test it and let me know.

Instructions:
Included in the attached ZIP file.

Download Now

File Type: (21.4 KB, 284 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 03-15-2001, 08:51 AM
Guest
 
Posts: n/a
Default

Quote:
Originally posted by PeF
I'm not sure either. I need some more info or even better - the link to your pages.
I've got the same problem. Moderators do get to see the links, but I, the administrator, Don't.

That's not good
Reply With Quote
  #13  
Old 03-15-2001, 08:56 AM
Guest
 
Posts: n/a
Default

I'm uninstalling the hack, but now i have another problem.

Because the template system of vb2 sucks, i've edited the templates through phpmyadmin. Because of that, i can't simply 'revert to original'.

Normally, I can just follow the hack backwards, and so uninstall the hack.

But in these hack instructions, there's only

Code:
************************************************
* Replace everything between the following two lines:
************************************************

<!-- forum rules and admin links -->
...
<!-- /forum rules and admin links -->

************************************************
* With:
************************************************
but not the original code.

Now i don't know to what i have to change it to!!!

Reply With Quote
  #14  
Old 03-15-2001, 09:06 AM
Guest
 
Posts: n/a
Default

Fiished. Finally.

I had to beg my host for a second database, and installed vb2 again, temporarily, and then copy the original showthread and forumdisplay templates to the ones that are ****ed up.

I hate the way vbulletin2 is going with the templates. If vb2 had the same template system as in 1.1.x, then i didn't even have to use phpmyadmin, but i could do it in the control panel!

I'm strongly considering uninstalling vb2, despite all the good features that my users love.. and installing 1.1.6..

/me Out.
Reply With Quote
  #15  
Old 03-15-2001, 09:36 AM
Guest
 
Posts: n/a
Default

I'll update the package as soon as possible and take a closer look at the issues described here. I'll also update installation instructions.

The wierd thing is it works perfectly on my site.
If anyone experience any problems, feel free to describe them here as X-PhoeniX did.

I've found template system in vB 2.0 more valuable and efficient than in older versions. I've never been forced to use phpMyAdmin or whatever else to edit my templates or even worse, repair them. I have to confess I experience less troubles with vB 2.0 than with vB 1.1.x. My users love new features and new version so do I.
Reply With Quote
  #16  
Old 03-15-2001, 09:37 AM
Guest
 
Posts: n/a
Default

Quote:
Originally posted by X-PhoeniX
Now i don't know to what i have to change it to!!!
I really can't know what you have between those lines now. This hack was written for a fresh install of vBulletin.
Feel free to contact me, I'll try to help you as much as possible to make it run if still interested.
Reply With Quote
  #17  
Old 03-15-2001, 09:44 AM
Guest
 
Posts: n/a
Default

Quote:
Originally posted by jojo85
Don't find the utility of this hack!
Reply With Quote
  #18  
Old 03-15-2001, 09:45 AM
Guest
 
Posts: n/a
Default

Quote:
Originally posted by PeF
I've found template system in vB 2.0 more valuable and efficient than in older versions. I've never been forced to use phpMyAdmin or whatever else to edit my templates or even worse, repair them. I have to confess I experience less troubles with vB 2.0 than with vB 1.1.x.
Then I would like to know what troubles you ran into with the template system of vB 1.1.x?
Cuz that one has always worked perfectly for me, in contradiction to the template system of vB 2..
Quote:
Originally posted by PeF

I really can't know what you have between those lines now. This hack was written for a fresh install of vBulletin.
Feel free to contact me, I'll try to help you as much as possible to make it run if still interested.
Yep you're right, you couldn't know what i had between the lines..

I should have written it to a file or something, my mistake

Sorry to post all this in 'your' topic, i just was a little pissed-off

I've got it all working again.. Thank goodness

Oh and the ismoderator function you're calling.. doesn't it only get the moderators for that forum, and not the admins?

If that's true, then that's the cause of my problem, and probably of someone i read higher up in the thread..
Reply With Quote
  #19  
Old 03-15-2001, 02:34 PM
Guest
 
Posts: n/a
Default

All hacks are use at your own risk.

Remember they are doing it for free!
Reply With Quote
  #20  
Old 03-15-2001, 02:46 PM
Guest
 
Posts: n/a
Default

PeF, does this add a query to showthread to check for moderator status?
Reply With Quote
  #21  
Old 03-15-2001, 05:57 PM
Guest
 
Posts: n/a
Default

Oups sorry pef
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:11 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.04174 seconds
  • Memory Usage 2,296KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete