Previous Thread
Next Thread
Print Thread
Rate Thread
Page 3 of 3 1 2 3
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
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)

Sponsored Links
Joined: May 2001
Posts: 794
Content Queen
Content Queen
Offline
Joined: May 2001
Posts: 794
All-righty, I'll give it another shot. tipsy


Sue
adwoff.com
Joined: May 2001
Posts: 794
Content Queen
Content Queen
Offline
Joined: May 2001
Posts: 794
It seems to be working ... thanks for the head's up. smile


Sue
adwoff.com
Joined: Jun 2003
Posts: 9
Junior Member
Junior Member
Offline
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? smile

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Sponsored Links
Joined: Jun 2003
Posts: 9
Junior Member
Junior Member
Offline
Joined: Jun 2003
Posts: 9
Thank you, sir. smile

Joined: Jun 2003
Posts: 9
Junior Member
Junior Member
Offline
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
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
Offline
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... smash

To any of my heroes out there, any ideas of how to fix please? smile


-GATOR

"Pain is temporary, Pride is forever"
Joined: May 2001
Posts: 1,042
Likes: 7
Moderator
Moderator
Offline
Joined: May 2001
Posts: 1,042
Likes: 7
Updated ZIP file with fix.

Joined: Jan 2003
Posts: 118
Member
Member
Offline
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 smile


-GATOR

"Pain is temporary, Pride is forever"
Sponsored Links
Joined: May 2001
Posts: 1,042
Likes: 7
Moderator
Moderator
Offline
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. smile

Joined: Jan 2003
Posts: 118
Member
Member
Offline
Joined: Jan 2003
Posts: 118
That seemed to do the trick! Thanks Brett, you rock man! smile


-GATOR

"Pain is temporary, Pride is forever"
Joined: Dec 2003
Posts: 40
Member
Member
Offline
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
Offline
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,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
my megamods haven't experianced this error.


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Dec 2003
Posts: 40
Member
Member
Offline
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,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Yeh sometimes the best thing to do is re-install to ensure it's installed correctly wink ... 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...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Dec 2003
Posts: 40
Member
Member
Offline
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
Offline
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,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
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)


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Dec 2003
Posts: 40
Member
Member
Offline
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,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Interesting enough.. as long as you got it working :x...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Mar 2004
Posts: 58
Member
Member
Offline
Joined: Mar 2004
Posts: 58
Kewl mod smile

Question, is it possible to prevent both megamods and regular mods from deleting posts?

Thanks

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
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...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Mar 2004
Posts: 58
Member
Member
Offline
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
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
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:
Code
		if($permit_delete ne "true") {
Replace with:
Code
		if($permit_delete ne "true" || ($user_profile[8] ne 'Administrator' && $user_number != $profile_number)) {

Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
How about in ultimatebb.php:
Find:
Code
	if (!$privatepath && preg_match("/Admin/i", $profile[4])) {
Replace with:
Code
	if (!$privatepath && (preg_match("/Admin/i", $profile[4]) || $profile[8] == "MegaModerator")) {
Find:
Code
	if ($privateforums && preg_match("/Admin/", $profile[4])) {
Replace with:
Code
	if (!$privatepath && (preg_match("/Admin/i", $profile[4]) || $profile[8] == "MegaModerator")) {

Joined: Mar 2004
Posts: 58
Member
Member
Offline
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 smile

Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
The ultimatebb.php edit was just something I added, nothing to do with your request smile

Page 3 of 3 1 2 3

Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Posts: 70
Joined: January 2007
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)