|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
it only says forum 1 due to a bug. Anyone added via that popup should be a megamod once you click Submit on the main page (non-popup)
|
|
|
|
Joined: May 2001
Posts: 794
Content Queen
|
Content Queen
Joined: May 2001
Posts: 794 |
All-righty, I'll give it another shot. 
Sue adwoff.com
|
|
|
|
Joined: May 2001
Posts: 794
Content Queen
|
Content Queen
Joined: May 2001
Posts: 794 |
It seems to be working ... thanks for the head's up. 
Sue adwoff.com
|
|
|
|
Joined: Jun 2003
Posts: 9
Junior Member
|
Junior Member
Joined: Jun 2003
Posts: 9 |
Getting an error trying to download the .zip file. Update the location, or anyone else have a copy for 6.7, please? 
|
|
|
|
Joined: Jan 2000
Posts: 5,834 Likes: 20
UBBDev Owner Time Lord
|
UBBDev Owner Time Lord
Joined: Jan 2000
Posts: 5,834 Likes: 20 |
|
|
|
|
Joined: Jun 2003
Posts: 9
Junior Member
|
Junior Member
Joined: Jun 2003
Posts: 9 |
Thank you, sir. 
|
|
|
|
Joined: Jun 2003
Posts: 9
Junior Member
|
Junior Member
Joined: Jun 2003
Posts: 9 |
I get the followin error at the top of the cp page (everything seems to be working, but I hate to see error messages): quote: [Sun Mar 21 23:31:42 2004] wwwcgi-bincp.cgi: Use of uninitialized value in string eq at /www/ubb/Templates/cp2_megamods.pl line 79. Any ideas?
|
|
|
|
Joined: Jan 2003
Posts: 118
Member
|
Member
Joined: Jan 2003
Posts: 118 |
Hmm.. Zammit I get this error too along with, cgicp.cgi: Use of uninitialized value in split at noncgi/Templates/cp2_megamods.pl line 81. so either we are both doing something exactly wrong or maybe there is a bug? I too hate to see error messages... To any of my heroes out there, any ideas of how to fix please? 
-GATOR
"Pain is temporary, Pride is forever"
|
|
|
|
Joined: May 2001
Posts: 1,042 Likes: 7
Moderator
|
Moderator
Joined: May 2001
Posts: 1,042 Likes: 7 |
Updated ZIP file with fix.
|
|
|
|
Joined: Jan 2003
Posts: 118
Member
|
Member
Joined: Jan 2003
Posts: 118 |
Thanks Brett! Was the fix only in cp2_megamods.pl or were there additional changes in the install? I tried just uploading the new cp2_megamods.pl file but when I click on Megamods in the control panel I get this error. Fatal error: (RequireVars) /noncgi/Templates/cp2_megamods.pl: Global symbol "$help" requires explicit package name at /noncgi/Templates/cp2_megamods.pl line 87. Global symbol "@Megamods" requires explicit package name at /noncgi/Templates/cp2_megamods.pl line 203. Global symbol "@Megamods" requires explicit package name at /noncgi/Templates/cp2_megamods.pl line 220. Compilation failed in require at /cgi/ubb_lib.cgi line 952. Just hoping there is a quick change I can make and it will work 
-GATOR
"Pain is temporary, Pride is forever"
|
|
|
|
Joined: May 2001
Posts: 1,042 Likes: 7
Moderator
|
Moderator
Joined: May 2001
Posts: 1,042 Likes: 7 |
Yea, the only changes were in cp2_megamods.pl. I just updated the zip again to which it should definitely fix it. 
|
|
|
|
Joined: Jan 2003
Posts: 118
Member
|
Member
Joined: Jan 2003
Posts: 118 |
That seemed to do the trick! Thanks Brett, you rock man! 
-GATOR
"Pain is temporary, Pride is forever"
|
|
|
|
Joined: Dec 2003
Posts: 40
Member
|
Member
Joined: Dec 2003
Posts: 40 |
My megamod isn't able to move topics from one forum to another-- is there a way I can patch this?
|
|
|
|
Joined: Dec 2003
Posts: 40
Member
|
Member
Joined: Dec 2003
Posts: 40 |
...or am I the only one experiencing this difficulty?
My board uses me as a megamod instead of an admin to discourage cookie-thieves. But whenever I want to edit a post or move a topic, it tells me that only an admin or moderator can perform that function.
Did I install the hack wrong? Or is there something I need to do to make this work for me?
|
|
|
|
Joined: Jan 2000
Posts: 5,834 Likes: 20
UBBDev Owner Time Lord
|
UBBDev Owner Time Lord
Joined: Jan 2000
Posts: 5,834 Likes: 20 |
my megamods haven't experianced this error.
|
|
|
|
Joined: Dec 2003
Posts: 40
Member
|
Member
Joined: Dec 2003
Posts: 40 |
Thanks for the reply-- this is encouraging because it tells me I might have installed it incorrectly. I'm going to reinstall it and see if that fixes things. Again, many thanks!
|
|
|
|
Joined: Jan 2000
Posts: 5,834 Likes: 20
UBBDev Owner Time Lord
|
UBBDev Owner Time Lord
Joined: Jan 2000
Posts: 5,834 Likes: 20 |
Yeh sometimes the best thing to do is re-install to ensure it's installed correctly  ... I've very often installed mod's at 4am after being up for 2 days and when I went to error test the next day, boy did I find a lot of errors :x...
|
|
|
|
Joined: Dec 2003
Posts: 40
Member
|
Member
Joined: Dec 2003
Posts: 40 |
hmmm.... Nope-- I checked it twice line by line.
BUT, I did notice something awry-- I tried re-downloading the hack to make sure I have the most current version, and I notice that the install.txt says its for version 6.6, 6.61 only.
Even the first post of this thread that has the link for the 6.7 version downloads the "6.6, 6.61" version.
Seeing as I'm running 6.7, I suspect that this is the problem. Does anyone have a link to the version of this hack for 6.7? Much appreciated.
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
I searched high and low for the download link, and it's in the first post
|
|
|
|
Joined: Jan 2000
Posts: 5,834 Likes: 20
UBBDev Owner Time Lord
|
UBBDev Owner Time Lord
Joined: Jan 2000
Posts: 5,834 Likes: 20 |
It may say that but it is a seperate build (keep in mind it was coded for 6.6 then ported to 6.7, looks liek brett never updated the version in the text)
|
|
|
|
Joined: Dec 2003
Posts: 40
Member
|
Member
Joined: Dec 2003
Posts: 40 |
Wow, this one was driving me crazy; then I had a Eureka moment!
My user was staying logged in between sessions. When I made that user a megamod, it was showing that I was a megamod, but I kept getting denied megamod privledges.
So I went to my forum, logged out, logged back in, and BAM, BABY!!! It works like a charm!
Thanks for helping me figure this one out, guys!
|
|
|
|
Joined: Jan 2000
Posts: 5,834 Likes: 20
UBBDev Owner Time Lord
|
UBBDev Owner Time Lord
Joined: Jan 2000
Posts: 5,834 Likes: 20 |
Interesting enough.. as long as you got it working :x...
|
|
|
|
Joined: Mar 2004
Posts: 58
Member
|
Member
Joined: Mar 2004
Posts: 58 |
Kewl mod Question, is it possible to prevent both megamods and regular mods from deleting posts? Thanks
|
|
|
|
Joined: Jan 2000
Posts: 5,834 Likes: 20
UBBDev Owner Time Lord
|
UBBDev Owner Time Lord
Joined: Jan 2000
Posts: 5,834 Likes: 20 |
What's the point of modding (or megamodding) someone if they can't delete posts? The main part of both status levels is so people can monitor your site and edit/delete what doesn't belong...
|
|
|
|
Joined: Mar 2004
Posts: 58
Member
|
Member
Joined: Mar 2004
Posts: 58 |
Because some can't understand what kind of posts i dont want them to delete
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Try the following in ubb_edit_post.cgi (untested; they'll still have the checkbox to delete the post, but if they select it, it will show them an error and not delete it) Find: if($permit_delete ne "true") { Replace with: if($permit_delete ne "true" || ($user_profile[8] ne 'Administrator' && $user_number != $profile_number)) {
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
How about in ultimatebb.php: Find: if (!$privatepath && preg_match("/Admin/i", $profile[4])) { Replace with: if (!$privatepath && (preg_match("/Admin/i", $profile[4]) || $profile[8] == "MegaModerator")) { Find: if ($privateforums && preg_match("/Admin/", $profile[4])) { Replace with: if (!$privatepath && (preg_match("/Admin/i", $profile[4]) || $profile[8] == "MegaModerator")) {
|
|
|
|
Joined: Mar 2004
Posts: 58
Member
|
Member
Joined: Mar 2004
Posts: 58 |
Sorry again for the late reply , the edit in the ultimatebb.php didnt do it while the edit in the ubb_edit_post.cgi did work Thanks 
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
The ultimatebb.php edit was just something I added, nothing to do with your request 
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 1,157
Joined: July 2001
|
|
Forums63
Topics37,575
Posts293,931
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|