Rules On Post V1

Started by vbgamer45, April 23, 2009, 11:00:25 AM

Previous topic - Next topic

SSimple Team

Full Version Released
New Features:


       
  • Enable or disable the mod from the administration.
  • Choose the forums where the rules don't see.
  • Choose by group permissions the user group does not see the rules.
  • The block to write the message allows html and bbcode.
  • You can customize the rules block with the CSS style  from administration.
Link: http://custom.simplemachines.org/mods/index.php?mod=1790




Mi Web: SMFSimple.com -

OCJ

Does the job - nice mod.

I get non-critical errors though on every posting or edit- a lot:

http://......./index.php?action=post;msg=2365;topic=1357.0

Undefined index: rulesonpost_css

File: /home2/...../public_html/Sources/Subs.php
Line: 4700


SSimple Team

Quote from: igirisjin on September 17, 2011, 12:00:41 PM
Does the job - nice mod.

I get non-critical errors though on every posting or edit- a lot:

http://......./index.php?action=post;msg=2365;topic=1357.0

Undefined index: rulesonpost_css

File: /home2/...../public_html/Sources/Subs.php
Line: 4700


Ok! I checked and repaired promptly.
thanks




Mi Web: SMFSimple.com -

OCJ


OCJ

Not sure about the repair ... im getting errors still after downloading and installing again.



http://.........................com/index.php?action=post;msg=2327;topic=1346.0;calendar;eventid=178;e192fafa=5952c9a231b7ad309ed8add47e098bf0

8: Undefined index: rulesonpost_css

File: /home/....../public_html/Sources/Subs.php
Line: 4700

OCJ

New lite version also giving pages of error messages

http://............com/index.php?action=post;board=39.0

8: Undefined index: rulesonpost_css

File: /home/...../public_html/Sources/Subs.php
Line: 4829

lean

Sorry, SSimple Team not supported in English language at the moment.
In SMFSimple.com We are looking for partners with this language to provide better support to all.
Thanks for understanding.

vkot

For specialized SMF installation/customization, Web Development, Linux Server Administration, click here.
Για εξειδικευμένες υπηρεσίες στα παραπάνω, πατήστε εδώ.

4Kstore


¡¡NEW MOD: Sparkles User Names!!!

theshaddii

Um ok. The mod installed correctly and is working. Its just that... well as adminstrator i have all permissions. and well that includes the permission to view the rules. I only wanted this to show the rules on someones first post. For every other group it works perfectly but for admin it shows up every time. Its very annoying. This is the first time i didn't want the admin to have a permission. Is there anyway to fix this. you can't edit the administrators permissions so i have been unable to fix this.

4Kstore

Try this, edit the file: Sources/Subs.php

Code (search) Select
global $board, $user_settings, $modSettings;

Code (replace) Select
global $board, $user_info, $modSettings;

Code (search) Select
if (@$modSettings['rulesonpost_enable'])

Code (replace) Select
if (@$modSettings['rulesonpost_enable'] && !$user_info['is_admin'])


With these, you as an administrator will never see the message
I really need to update this mods....

¡¡NEW MOD: Sparkles User Names!!!

theshaddii

Quote from: 4Kstore on July 10, 2013, 03:01:54 PM
Try this, edit the file: Sources/Subs.php

Code (search) Select
global $board, $user_settings, $modSettings;

Code (replace) Select
global $board, $user_info, $modSettings;

Code (search) Select
if (@$modSettings['rulesonpost_enable'])

Code (replace) Select
if (@$modSettings['rulesonpost_enable'] && !$user_info['is_admin'])


With these, you as an administrator will never see the message
I really need to update this mods....

Easy fix. Thanks so much for the quick response. This mod is Excellent mod. Hope its around for years to come.

4Kstore


¡¡NEW MOD: Sparkles User Names!!!

Advertisement: