Welcome, Guest. Please Login or Register.
October 31, 2024, 11:28:18 PM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  Development  |  Completed mods  |  [Done 1.4.1-1.5.1] Allowed User v1.2 « previous next »
Pages: 1 ... 4 5 [6] 7 8 ... 10 Reply Ignore Print
Author Topic: [Done 1.4.1-1.5.1] Allowed User v1.2  (Read 30004 times)
Sauron
Jr. Member
**
Posts: 57


ICQ - 22683560 WWW
Re:[BETA] Allowed User (1.3.1 / 1.4)
« Reply #75 on: February 14, 2003, 12:13:16 PM »
Reply with quote

Quote from: Pinoywebhost on November 05, 2002, 02:45:22 PM
I can't download this mod?? (both version) the file is not to be found... any other links?
This is the converted mod from the older version 1.1 .

I now have made a 1.5.1RC1 version of my 1.2-mod. Download it here:
Allowed User MOD 1.2 for YaBB SE 1.5.1RC1
Logged

The Dark Lord
Craig
Jr. Member
**
Posts: 66


I'm a llama!

Re:[BETA 1.4.1-1.5.1RC1] Allowed User v1.2
« Reply #76 on: February 14, 2003, 01:21:43 PM »
Reply with quote

on step 12 you have ...

f ($isAnnouncement && $settings[7] != 'Administrator' && $settings[7] != 'Global Moderator')

      fatal_error($txt['announcement1']);


that code appears twice in poll.php...do I add your code after the first or second  :-\
Logged
Sauron
Jr. Member
**
Posts: 57


ICQ - 22683560 WWW
Re:[BETA 1.4.1-1.5.1RC1] Allowed User v1.2
« Reply #77 on: February 14, 2003, 01:40:34 PM »
Reply with quote

Quote from: Craig on February 14, 2003, 01:21:43 PM
that code appears twice in poll.php...do I add your code after the first or second  :-\
Add it below the first!

This was a problem in 1.5.0 and in 1.5.1rc1. I've upadeted the two files now.
If you install your MODs using BoardMOD you don't need to change anything. BoardMOD finds automatically only the first!
Logged

The Dark Lord
Craig
Jr. Member
**
Posts: 66


I'm a llama!

Re:[BETA 1.4.1-1.5.1RC1] Allowed User v1.2
« Reply #78 on: February 14, 2003, 01:46:47 PM »
Reply with quote

thanks mate  :)...I tried boardmod but found errors with

Quote
tep 1 ... ok

Step 2 ... ok

Step 3 ... failed - ERR(1): Search string could not be found

Step 4 ... ok

Step 5 ... ok

Step 6 ... ok

Step 7 ... ok

Step 8 ... ok

Step 9 ... ok

Step 10 ... failed - ERR(1): Search string could not be found

Step 11 ... ok

Step 12 ... failed - ERR(1): Search string could not be found

Step 13 ... failed - ERR(1): Search string could not be found

Step 14 ... ok

THE REST WAS OK  ;)

I have no other mods ....just converted it yesterday  :)
Logged
Sauron
Jr. Member
**
Posts: 57


ICQ - 22683560 WWW
Re:[BETA 1.4.1-1.5.1RC1] Allowed User v1.2
« Reply #79 on: February 14, 2003, 02:20:35 PM »
Reply with quote

Sorry, I can't find any errors when I I try to install with BoardMOD. I'm also using a clear copy of the code files.

mh, try to install it manually and look for the differences between the MOD's search string and the original source file. And tell me what you have found (or havn't found). Maybe I'll get a better idea what's wrong.
Logged

The Dark Lord
Craig
Jr. Member
**
Posts: 66


I'm a llama!

Re:[BETA 1.4.1-1.5.1RC1] Allowed User v1.2
« Reply #80 on: February 14, 2003, 03:46:23 PM »
Reply with quote

I done it by hand and didn't get any errors  ???

but I cant get it to work on my site, more to do with me being thick  ;)

Thanks anyhow mate :)

Logged
Craig
Jr. Member
**
Posts: 66


I'm a llama!

Re:[BETA 1.4.1-1.5.1RC1] Allowed User v1.2
« Reply #81 on: February 14, 2003, 09:56:20 PM »
Reply with quote

I tried again but still with no success  :(

but I did find this in the mod


<edit file>
Sources/Subs.php
</edit file>


//search for
//   $request = mysql_query("SELECT name,ID_CAT FROM {$db_prefix}categories WHERE (FIND_IN_SET('$settings[7]',memberGroups)!=0 OR memberGroups='' OR '$settings[7]'='Administrator' OR '$settings[7]'='Global Moderator')  ORDER BY catOrder");
///search for
//
//replace
//   // Replaced by Allowed User MOD - Begin
//   $request = mysql_query("SELECT name,ID_CAT FROM {$db_prefix}categories WHERE (FIND_IN_SET('$settings[7]',memberGroups)!=0 OR memberGroups='' OR '$settings[7]'='Administrator' OR '$settings[7]'='Global Moderator')  ORDER BY catOrder");
//   // Replaced by Allowed User MOD - End
///replace


//

im not a mod expert but shouldn't the search and replace tags have < > and </ > on them  :-\

I tried adding some but it just makes it worse  ???

Hope this helps  :)
Logged
Sauron
Jr. Member
**
Posts: 57


ICQ - 22683560 WWW
Re:[BETA 1.4.1-1.5.1RC1] Allowed User v1.2
« Reply #82 on: February 15, 2003, 02:32:30 PM »
Reply with quote

Then I haven't any other Ideas. If you have it install manually and it causes no php script errors, leave it alone and never touch it again ;D otherwise make sure you really have the original files.

The missing <..> and </...> are OK because these line must be ignored by BoardMOD. This feature isn't developed yet and will be enabled in the release version.
Logged

The Dark Lord
Surfy
Sr. Member
****
Posts: 458


I'm a llama!

Re:[BETA 1.4.1-1.5.1RC1] Allowed User v1.2
« Reply #83 on: February 17, 2003, 02:39:05 PM »
Reply with quote

 :D

I have installed it (by hand) on my heavy modded 1.4.1 Board. It works, no bugs, its clear the

MOD OF THE YEAR

Thank you much  :-*

I hope you use your Skill for other Mods too!


Surfy


Mod Addon??
Is it possible, to make Boards viewable, if someone gain an higher Userlevel? So if a Boarduser make his 50 Post an is in a higher Membergroup, he can see / use a additional Category??
« Last Edit: February 17, 2003, 02:43:20 PM by Surfy » Logged
Sauron
Jr. Member
**
Posts: 57


ICQ - 22683560 WWW
Re:[BETA 1.4.1-1.5.1RC1] Allowed User v1.2
« Reply #84 on: February 17, 2003, 09:16:11 PM »
Reply with quote

Thanks.

I've already some ideas about the next version. But first I want to eliminate the bugs in the current version.
Logged

The Dark Lord
eibon
Noobie
*
Posts: 10


I have a llama fetish!

Re:[BETA 1.4.1-1.5.1RC1] Allowed User v1.2
« Reply #85 on: February 22, 2003, 05:19:24 AM »
Reply with quote

I installed this mod on my 1.4.1 forum without any hassles, and it worked fine for several days.  Now however, when I click on the "Modify" button in "Installed Mods and Settings Options" I get this error -

2: Empty Delimiter
(/public_html/forum/Sources/selectallowedusers.php ln 94)

Any ideas  ???
Logged
Sauron
Jr. Member
**
Posts: 57


ICQ - 22683560 WWW
Re:[BETA 1.4.1-1.5.1RC1] Allowed User v1.2
« Reply #86 on: February 22, 2003, 04:36:34 PM »
Reply with quote

Quote from: eibon on February 22, 2003, 05:19:24 AM
2: Empty Delimiter
(/public_html/forum/Sources/selectallowedusers.php ln 94)

Any ideas  ???
Check your database. I think you have an empty memberName field.

I have updated the zip files to solve this problem. All you have to do is replace the selectalloweduser.php.
Logged

The Dark Lord
eibon
Noobie
*
Posts: 10


I have a llama fetish!

Re:[BETA 1.4.1-1.5.1RC1] Allowed User v1.2
« Reply #87 on: February 23, 2003, 01:17:51 AM »
Reply with quote

Quote from: Sauron on February 22, 2003, 04:36:34 PM
Check your database. I think you have an empty memberName field.

I have updated the zip files to solve this problem. All you have to do is replace the selectalloweduser.php.
Excellent!  I simply uploaded the new selectalloweduser.php file, and now everything is in perfect working order.

Thanks  :)
Logged
Raytheon
Noobie
*
Posts: 13


Re:[BETA 1.4.1-1.5.1RC1] Allowed User v1.2
« Reply #88 on: February 23, 2003, 10:08:57 AM »
Reply with quote

I'm having ploblmes using this MOD :(

I installed the MOD manually and the configuration works fine, but unfortunately I can't access the categories. It allways says, that I don't have permission...
But when I click on a thread directly, e.g. by looking at the 10 latest posts of a user, I can access the thread ???

Using 1.5.1 RC42 + Allowed USER MOD 1.2

Can somebody help me.
Logged
Sauron
Jr. Member
**
Posts: 57


ICQ - 22683560 WWW
Re:[BETA 1.4.1-1.5.1RC1] Allowed User v1.2
« Reply #89 on: February 27, 2003, 01:13:30 PM »
Reply with quote

Check, if you added the code at the correct position in MessageIndex.php:


   if (mysql_num_rows($result) == 0)
      fatal_error($txt['yse232']   );
   list ($boardname,$bdescrip,$bdmods,$cat,$currcat,$temp2,$isAnnouncement,$topiccount) = mysql_fetch_row($result);

   $memgroups = explode(',',$temp2);
   if (!(in_array($settings[7],$memgroups) || $memgroups[0] == null || $settings[7] == 'Administrator' || $settings[7] == 'Global Moderator'))
      fatal_error($txt['1']);

   // Added by Allowed User MOD - Begin
   if (AU_HasUserAccessToBoard() == 1) fatal_error($txt[1]);
   // Added by Allowed User MOD - End

   // are we views all the topics, or just a few?
   $maxindex = ($view == 'all' ? $topiccount : $maxdisplay);

   // Make sure the starting place makes sense.
   if (!isset($start))
      $start = 0;
   if ($start > $topiccount)
      $start =( $topiccount % $maxindex ) * $maxindex;
   elseif ($start < 0)
      $start = 0;


If all is ok and the MOD won't work download the zip file (I have fixed a little bug) and install the MOD again. The only thing that's new is the change in Subs.php . So you don't need to install the whole MOD.

If nothing helps, I need a detailed description how you configured your boards.
Logged

The Dark Lord
Pages: 1 ... 4 5 [6] 7 8 ... 10 Reply Ignore Print 
YaBB SE Community  |  Development  |  Completed mods  |  [Done 1.4.1-1.5.1] Allowed User v1.2 « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.034 seconds with 20 queries.