vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Mods can edit Users (https://vborg.vbsupport.ru/showthread.php?t=42096)

midnightz 09-11-2003 09:00 PM

Ok I added this hack, But have a few questions, I also added the info code by BorgGanon.

I am having trouble on 3 things (it might be because of a major sinus headache)

confiquiring the script to have only my mods and or supermods I choose have access?

I wish to deny all off them the ability to mass prune or move, only myself I wish to have that control?

I would like them to be able to make the users miserbale if needed, but dont know what to add and where for that to happen? (the miserable users hack is installed)

Thanks,

midz

Xenon 09-11-2003 11:43 PM

a) my hack has nothing to do with massmoving permissions. you'll have to ask on vb.com or read the manual on how to do that, as it's not part of my hack

b) i don't know the miserable users hack, so i cannot help you here, maybe start a new support thread for that?

midnightz 09-11-2003 11:58 PM

Ok, thanks,

I thought there might be way to comment out the ability to do that, maybe I will just delete that option from the index.php in the mod / and I think I do a

makeyesnocode("Show Avatars","showavatars",$user[showavatars]);

but cater it too match what the miserable users creates in that hack, it might be ok, since it seems your hack will aknowledge the field if it is an option.

Hope I'm on the right track,

thanks

Ch33chy 09-15-2003 05:13 PM

Quote:

Originally Posted by Me!
Does this work for 2.3.2? I can't seem to find the first bit of coding it asks to find.

I could really really really do with this hack for 2.3.2 !!!!
Im a total newbie when it comes to coding though, and the instructions appear to be mega different for this version.

If i beg nicely, whats the chances of someone making this work/ providing instructions for 2.3.2 ?

Xenon 09-16-2003 05:16 PM

you are calling one line slightly changed a "mega difference"????

what is changing one letter? big difference?

/me has edited the attachment

Ch33chy 09-16-2003 08:12 PM

If there was a slight change then i'd probably be ok with it :)

However as a noob to coding, I read your instructions which start off
Code:

Open mod/user.php:
------------------
find:
echo "<tr><td nowrap><p>$user[username]</p></td>".iif($perms[ismoderator] or $ismod['canbanusers']==1, "<td nowrap><a href=\"user.php?action=ban&userid=$user[userid]\"><p>[ban]</p></a></td>", "").iif($perms[ismoderator] or $ismod['canviewprofile']==1, "<td nowrap><a href=\"user.php?action=viewuser&userid=$user[userid]\"><p>[view user]</p></a></td>", "")."</tr>\n";

I searched for several bits of that in user.php and Im afraid I couldn't see anything too similiar. Despite searching for several bits of the above line I couldnt find so presumed the code had changed a lot for the version I using.

It may in fact be a slight difference, but just didnt want to break a spangly new working forum :)

Thanks in advance for any advice, and apologies if I appear to be too noobish ;)
Only added 1 other hack to date, and that was more straight forward with what needed changing.

Xenon 09-16-2003 09:42 PM

all that changed in that line was that the devs use &amp; instead of & in urls now.

as said i'Ve updated the attachment already

Ch33chy 09-16-2003 10:29 PM

many thanks for the quick reply and great work.
Apologies for screwing up the thread scrolly style.

Ian Cunningham 09-19-2003 03:35 PM

I get :
Parse error: parse error in /home/pcreview/public_html/mod/user.php on line 69

when installing this

Yes... It is installed correctly ;)

Xenon 09-19-2003 03:42 PM

Quote:

Originally Posted by Ian Cunningham
Yes... It is installed correctly ;)

nope it's not, as if it would be installed correctly it would work :p

also you should read the rule about parse errors:
post 5 lines ahead and below, because we're not omniscient and don'T know what the heck is on line xy of your files


All times are GMT. The time now is 03:04 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.01215 seconds
  • Memory Usage 1,741KB
  • 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)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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