[ABD] Restrict functions 1.0.2

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
User avatar
Kamahl19
Registered User
Posts: 1598
Joined: Tue Nov 06, 2007 3:33 pm
Location: Slovakia
Name: Martin
Contact:

Re: [RC]Restrict functions 1.0.0 (set how much posts users need)

Post by Kamahl19 » Sat Nov 29, 2008 10:58 am

no. uninstall all changes in files and it is ok. it is not problem that in DB are some empty columns. if you dont want them, open install.php and find what all was added to database and remove it yourself

fmahash
Registered User
Posts: 39
Joined: Thu Nov 23, 2006 1:58 pm

Re: [RC]Restrict functions 1.0.0 (set how much posts users need)

Post by fmahash » Sat Nov 29, 2008 11:33 am

Kamahl19 wrote:no. uninstall all changes in files and it is ok. it is not problem that in DB are some empty columns. if you dont want them, open install.php and find what all was added to database and remove it yourself
i tried but im still left with the options in the admin panel. btw when can u update this mod?

User avatar
Kamahl19
Registered User
Posts: 1598
Joined: Tue Nov 06, 2007 3:33 pm
Location: Slovakia
Name: Martin
Contact:

Re: [RC]Restrict functions 1.0.0 (set how much posts users need)

Post by Kamahl19 » Sat Nov 29, 2008 12:11 pm

now, i dont have to update this mod. it is working on 3.0.3, you did some mistakes in installing or you have some other MODs which are not compatibile with this MOD

User avatar
1234homie
Registered User
Posts: 439
Joined: Fri Sep 26, 2008 3:17 pm

Re: [RC]Restrict functions 1.0.0 (set how much posts users need)

Post by 1234homie » Sat Nov 29, 2008 1:50 pm

great mod i waitng for new versions! :D

Tuxman
Registered User
Posts: 420
Joined: Sun Jun 08, 2003 6:24 pm
Location: Germany
Contact:

Re: [RC]Restrict functions 1.0.0 (set how much posts users need)

Post by Tuxman » Sat Nov 29, 2008 1:54 pm

Why "new versions"?
[ randomly phpBBing ]

fmahash
Registered User
Posts: 39
Joined: Thu Nov 23, 2006 1:58 pm

Re: [RC]Restrict functions 1.0.0 (set how much posts users need)

Post by fmahash » Sat Nov 29, 2008 2:14 pm

Tuxman wrote:Why "new versions"?
well its still in development so i think he meant when it becomes an official mod or something

User avatar
1234homie
Registered User
Posts: 439
Joined: Fri Sep 26, 2008 3:17 pm

Re: [RC]Restrict functions 1.0.0 (set how much posts users need)

Post by 1234homie » Sat Nov 29, 2008 3:49 pm

it is development and I think, this mod have future :)

shahinavthal
Registered User
Posts: 277
Joined: Fri Sep 19, 2008 6:53 am

Re: [RC]Restrict functions 1.0.0 (set how much posts users need)

Post by shahinavthal » Sun Nov 30, 2008 9:22 am

takadante wrote:
fmahash wrote:hey i got a big problem with this mod. me and my members keep on getting this error when we try to post something
SQL ERROR [ mysql4 ]

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 [1064]

SQL

INSERT INTO phpbb_topics

BACKTRACE

FILE: includes/db/mysql.php
LINE: 174
CALL: dbal->sql_error()

FILE: includes/functions_posting.php
LINE: 1876
CALL: dbal_mysql->sql_query()

FILE: posting.php
LINE: 1001
CALL: submit_post()
please i need help with this quick. i would appreciate it
Same issue. Really need some help with this!
Did someone find a solution to this :(

I have 3.0.2 and even i face the same problem while replying to a topic...Starting a new topic works perfectly

Edit: I have replaced the posting.php and functions_posting.php files and they are back to normal...Can you please check if there is any error there...Thanks

xnitelifex
Registered User
Posts: 126
Joined: Wed Jun 27, 2007 6:35 pm

Re: [RC]Restrict functions 1.0.0 (set how much posts users need)

Post by xnitelifex » Thu Dec 04, 2008 2:44 pm

I'm looking forward to using this mod when it is officially released.

Feature requests:
download attachment after
view member list after
use BBCode after
email users after
view URL/links after

Thank you for creating this mod!!

User avatar
Lisbon
Registered User
Posts: 825
Joined: Wed Jan 30, 2008 12:28 pm
Location: Zermatt

Re: [RC]Restrict functions 1.0.0 (set how much posts users need)

Post by Lisbon » Thu Dec 04, 2008 5:11 pm

xnitelifex wrote:I'm looking forward to using this mod when it is officially released.

Feature requests:
download attachment after
view member list after
use BBCode after
email users after
view URL/links after

Thank you for creating this mod!!
Nice sugestions ;)

xnitelifex
Registered User
Posts: 126
Joined: Wed Jun 27, 2007 6:35 pm

Re: [RC]Restrict functions 1.0.0 (set how much posts users need)

Post by xnitelifex » Thu Dec 04, 2008 8:45 pm

Lisbon wrote:
xnitelifex wrote:I'm looking forward to using this mod when it is officially released.

Feature requests:
download attachment after
view member list after
use BBCode after
email users after
view URL/links after

Thank you for creating this mod!!
Nice sugestions ;)
Thanks! I hope it will be included for all to use.

User avatar
Kamahl19
Registered User
Posts: 1598
Joined: Tue Nov 06, 2007 3:33 pm
Location: Slovakia
Name: Martin
Contact:

Re: [RC]Restrict functions 1.0.0 (set how much posts users need)

Post by Kamahl19 » Thu Dec 04, 2008 9:10 pm

xnitelifex wrote:I'm looking forward to using this mod when it is officially released.

Feature requests:
download attachment after
view member list after
use BBCode after
email users after
view URL/links after

Thank you for creating this mod!!
yes really nice. i will add it all during next year. i am really busy to do free MODs..

fmahash
Registered User
Posts: 39
Joined: Thu Nov 23, 2006 1:58 pm

Re: [RC]Restrict functions 1.0.0 (set how much posts users need)

Post by fmahash » Thu Dec 04, 2008 9:14 pm

Kamahl19 wrote:
xnitelifex wrote:I'm looking forward to using this mod when it is officially released.

Feature requests:
download attachment after
view member list after
use BBCode after
email users after
view URL/links after

Thank you for creating this mod!!
yes really nice. i will add it all during next year. i am really busy to do free MODs..
did u find the cause of the error though. it cant be a coincidence that all 3 of us installed the mod wrong and got the exact same error

User avatar
Kamahl19
Registered User
Posts: 1598
Joined: Tue Nov 06, 2007 3:33 pm
Location: Slovakia
Name: Martin
Contact:

Re: [RC]Restrict functions 1.0.0 (set how much posts users need)

Post by Kamahl19 » Fri Dec 05, 2008 2:47 pm

no i didnt.

mladen88
Registered User
Posts: 158
Joined: Wed May 30, 2007 9:06 pm

Re: [RC]Restrict functions 1.0.0 (set how much posts users need)

Post by mladen88 » Tue Dec 23, 2008 11:14 am

Code: Select all

     // Start Restrict functions mod    
    if ( !( ($auth->acl_get('a_') && ($config['include_admins'] == 0)) || ($auth->acl_get('m_') && ($config['include_mods'] == 0))))
    {
      $sql = 'SELECT topics_allowed_after
        FROM ' . FORUMS_TABLE . "
        WHERE forum_id = $forum_id";
          $result = $db->sql_query_limit($sql, 1);
          $row = $db->sql_fetchrow($result);
          $db->sql_freeresult($result);
        
          $template->assign_vars(array(
        'S_RESTRICTED_TOPIC'        => $row['topics_allowed_after'] > $user->data['user_posts'],
        'L_RESTRICTED_TOPIC'        => sprintf($user->lang['RESTRICTED_TOPIC'], $row['topics_allowed_after']))
         );

      if ($config['topics_allowed_after'] > $user->data['user_posts'])
      {
        trigger_error(sprintf($user->lang['RESTRICTED_TOPICS'], $config['topics_allowed_after']));
      }

      else if ($row['topics_allowed_after'] > $user->data['user_posts'])
      {
        trigger_error(sprintf($user->lang['RESTRICTED_TOPIC'], $row['topics_allowed_after']));
      }
    }
    // End Restrict functions mod 
Here is the error for mysql syntax but don't know where exactly...

Locked

Return to “[3.0.x] Abandoned MODs”