Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4257
Latest: Alex998.
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 43295
Total Topics: 7523
Most Online Today: 311
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 332
Total: 332

Author Topic: [Mod] Visual Warning Mod  (Read 17209 times)

0 Members and 1 Guest are viewing this topic.

Offline ikick

  • Member
  • *
  • Posts: 11
    • View Profile
[Mod] Visual Warning Mod
« on: March 17, 2007, 09:01:06 pm »
Visual Warning Mod
SMF Version: 1.1.2

Description: You can now give warnings to people. There are 4 levels:
1 Warning, A green warning sign will appear next to your name
2 Post moderation- your post will need to be approved by a admin, a little sign saying "Moderated" will show next to name.
3-mute for how ever many days you want. "Mute" will show next to name
4-BANNED! Banned will also show

Please also leave a comment of what you thought,
Thanks


Link to Mod

Please also note, i helped make this mod. i did not do it all by my self
« Last Edit: March 17, 2007, 09:11:15 pm by ikick »

Offline BJ05

  • Jr. Member
  • **
  • Posts: 58
    • View Profile
Re: [Mod] Visual Warning Mod
« Reply #1 on: March 18, 2007, 07:36:54 am »
It seemed to install well after problems with sources.security.php and modsettings.php which both threw out fatal errors due to a previous install

Solved both of those by rolling back to the previous versions

I am showing double entry under members names "warn warn" in the post header, I am showing "WARN" 4 times alternating large and small text and in the profile the "CURRENT LEVEL" is listed twice.

What file need to be looked at to edit these double entrie?

I have images of the problem but I am getting an "uploader full" on this board and unable to upload
« Last Edit: March 18, 2007, 09:57:14 am by BJ05 »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: [Mod] Visual Warning Mod
« Reply #2 on: March 18, 2007, 09:00:01 am »
You should be able to upload again increased the folder size.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline BJ05

  • Jr. Member
  • **
  • Posts: 58
    • View Profile
Re: [Mod] Visual Warning Mod
« Reply #3 on: March 18, 2007, 12:03:33 pm »
Ok, I have solved all the problems I listed except for the one giving me a double listing under the members name.

What I need to know now is what file and what line of code I need to look for in order to do away with the duplicate entry

Offline ikick

  • Member
  • *
  • Posts: 11
    • View Profile
Re: [Mod] Visual Warning Mod
« Reply #4 on: March 23, 2007, 06:12:57 pm »
Ok :)

Offline BJ05

  • Jr. Member
  • **
  • Posts: 58
    • View Profile
Re: [Mod] Visual Warning Mod
« Reply #5 on: March 23, 2007, 06:20:48 pm »
What I need to know now is what file and what line of code I need to look for in order to do away with the duplicate entry

Ok what? This last problem remains and I have yet to find the solution to it

In what file and what line of code is being duplicated to cause a doube warning to be displayed under the members name?

Offline ikick

  • Member
  • *
  • Posts: 11
    • View Profile
Re: [Mod] Visual Warning Mod
« Reply #6 on: March 23, 2007, 06:25:00 pm »
what smf version are you using

Offline BJ05

  • Jr. Member
  • **
  • Posts: 58
    • View Profile
Re: [Mod] Visual Warning Mod
« Reply #7 on: March 23, 2007, 06:27:52 pm »
SMF 1.1.2 and TP 0.98

Offline ikick

  • Member
  • *
  • Posts: 11
    • View Profile
Re: [Mod] Visual Warning Mod
« Reply #8 on: March 28, 2007, 12:49:27 am »
Right. Because i am using 1.1.2 and i have no problems installing it.

Offline BJ05

  • Jr. Member
  • **
  • Posts: 58
    • View Profile
Re: [Mod] Visual Warning Mod
« Reply #9 on: March 28, 2007, 01:32:26 pm »
All well and good. But the problems still persists with the dual entry under the members name. The question was simple. What file and what line can be edited to remove the duplicate entry?

Offline ikick

  • Member
  • *
  • Posts: 11
    • View Profile
Re: [Mod] Visual Warning Mod
« Reply #10 on: April 04, 2007, 09:36:33 pm »
ok it is in modsetting.php or w/e.

Try unistalling and reinstalling again.

Offline importune

  • Member
  • *
  • Posts: 1
    • View Profile
Re: [Mod] Visual Warning Mod
« Reply #11 on: April 30, 2007, 09:50:22 pm »
Vouch on all the problems. I rolledback my security file and thats fixed...but now i've got a problem in the modsettings.php.....


Fatal error: Cannot redeclare visualwarningsettings() (previously declared in /home/vanaheim/public_html/forums/Sources/ModSettings.php:354) in /home/vanaheim/public_html/forums/Sources/ModSettings.php on line 392


Any idea? because honestly i know nothing of the code.


When i tried to test it as is...i notice 3 buttons that seem to be for adding warn...but none of them really work. When i click one of them it brings me to a page that looks like it should have settings but there is no text and no real options.
« Last Edit: April 30, 2007, 09:55:33 pm by importune »

Offline Scrappy

  • Member
  • *
  • Posts: 2
    • View Profile
Re: [Mod] Visual Warning Mod
« Reply #12 on: May 01, 2007, 02:04:45 am »
i get this test fail when i install it

Execute Modification ./Sources/ManagePermissions.php Test failed

thats the only one any help please
thanx DjScrappy

Offline Scrappy

  • Member
  • *
  • Posts: 2
    • View Profile
Re: [Mod] Visual Warning Mod
« Reply #13 on: May 02, 2007, 08:13:46 pm »
can anybody help me on this :'(

Offline Jump1979man

  • Sr. Member
  • ****
  • Posts: 274
    • View Profile
    • Midwest Motorcycles Forum
Re: [Mod] Visual Warning Mod
« Reply #14 on: May 03, 2007, 09:20:07 am »
install it manually.
Midwest Motorcycles Forum
http://www.mwmotorcycles.com

Riverway Racing
https://www.riverwayracing.com
Motorcycle parts, gear, and accessories.

 

Related Topics

  Subject / Started by Replies Last post
0 Replies
3290 Views
Last post August 01, 2007, 12:12:12 pm
by zylon
2 Replies
10502 Views
Last post May 11, 2009, 06:57:20 pm
by tridirk
0 Replies
3463 Views
Last post August 21, 2009, 04:15:46 am
by Vincent Volmer
3 Replies
4436 Views
Last post January 23, 2010, 10:42:03 am
by SMFHacks
2 Replies
2965 Views
Last post September 17, 2015, 09:37:44 am
by SMFHacks

+- Recent Topics

Please Help! by SMFHacks
April 17, 2024, 08:04:55 am

Rate own images by fvlog19
April 11, 2024, 10:56:53 am

Tidy Child Boards on 2.1.4 by SMFHacks
April 04, 2024, 03:54:12 pm

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
March 30, 2024, 12:41:08 pm

Can't DROP 'id_member'; check that column/key exists Datei: by SMFHacks
March 30, 2024, 11:58:20 am

No thumbnails on new uploads by Tonyvic
March 29, 2024, 06:26:18 am

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

Powered by EzPortal