php forum
php mysql forum
php mysql smarty
 
Page 2 of 2 < 1 2
Topic Options
#222470 - 10/22/03 08:59 AM Re: Seems to work in 6.3.2 [Re: SurfMinister]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25432
Loc: Texas

   Re: Seems to work in 6.3.2 to Del.icio.us Add to del.icio.us
  Digg Re: Seems to work in 6.3.2 Digg it
hmmm.. how can we set this to remove them from the old group when it updates them to the new one? It's still leaving them as members of the old one and pm's aren't working <img src="http://www.ubbdev.com/forum/images/graemlins/smash.gif" alt="" /><br /><br /><img src="http://www.ubbdev.com/forum/images/graemlins/tongue.gif" alt="" />
_________________________
- Allen wavey
- What Drives You?

Top
#222471 - 10/24/03 10:57 AM Re: Seems to work in 6.3.2 [Re: SurfMinister]
Gardener Offline
Addict

Registered: 05/11/99
Posts: 1956
Loc: Sweden, Uppsala
Uhmm. It was quite some time since I looked at this but I seem to recall that this can be done by changing a line or two in the code. I think that was the original behaviour but it was changed.<br /><br />If you want I can look in to it next week, after my exams.
_________________________
/Gardener | Complete list of my mods

Top
#222472 - 10/26/03 09:14 PM Re: Seems to work in 6.3.2 [Re: c0bra]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25432
Loc: Texas
thank you gardener <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" />
_________________________
- Allen wavey
- What Drives You?

Top
#222473 - 11/04/03 11:50 PM Re: [6.2] Auto Group Change 1.1 beta [Re: c0bra]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25432
Loc: Texas
I wonder if the below changes would fix it for me?<br /><br />[]Gardener said:<br />No, it only updates when a user reaches _exactly_ the given amount of posts. I believe I had two reasons for this, firstly it is the way threads handles title upgrades and I thought it would be a good idea to keep it consistent. The other reason was that it would mean that you could also move users out of the given group when they upgrade to the next level etc.<br /><br />If you want to add the user to the group if they have as many as or more posts than the given number, you could make the following changes in the addpost.php code after you've added the hack:<br /><br />Find this row:<br />
Code:
if ( ($Totalposts == $posts) &amp;&amp; !strstr($CurrGroups, $thegroup) ) {
<br /><br />Change it into this:<br />
Code:
<br />if ( ($Totalposts &gt;= $posts) &amp;&amp; !strstr($CurrGroups, $thegroup) ) {
<br /><br />This should add the users to all groups they have enough posts for (although it is untested).<br /><br />If you only want the highest group, you would probably have to do something like this instead:<br /><br />Find these lines:<br />
Code:
<br />	if ( ($Totalposts == $posts) &amp;&amp; !strstr($CurrGroups, $thegroup) ) {<br />	  $NewGroups .= "$thegroup-";<br />	  break;<br />	}<br />
<br /><br />Change them into this:<br />
Code:
<br />	if ( ($Totalposts &gt;= $posts) &amp;&amp; !strstr($CurrGroups, $thegroup) ) {<br />	  $NewGroups = "$thegroup-";<br />	  break;<br />	}<br />
<br /><br />This is also untested, but I think it should work. [/]
_________________________
- Allen wavey
- What Drives You?

Top
#222474 - 11/05/03 10:01 AM Re: [6.2] Auto Group Change 1.1 beta [Re: SurfMinister]
Gardener Offline
Addict

Registered: 05/11/99
Posts: 1956
Loc: Sweden, Uppsala
Yeah... That should work. They will always only be in the highest group they are allowed to.
_________________________
/Gardener | Complete list of my mods

Top
#222475 - 11/25/03 09:08 PM Re: [6.2] Auto Group Change 1.1 beta [Re: c0bra]
donJulio Offline
Code Monkey

Registered: 06/17/02
Posts: 682
Loc: CA, USA
Has anyone tried this on 6.4?
_________________________
Too many men. There's too many people making too many problems, and not much love to go around. Can't you see this is the Land of Confusion? <img src="http://www.ubbdev.com/forum/images/graemlins/confused.gif" alt="" />

Top
#222476 - 01/06/04 12:07 PM Re: [6.2] Auto Group Change 1.1 beta [Re: c0bra]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25432
Loc: Texas
hmm... did this one get updated for 6.4 too? <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" />
_________________________
- Allen wavey
- What Drives You?

Top
#222477 - 02/24/04 05:21 PM Re: [6.2] Auto Group Change 1.1 beta [Re: SurfMinister]
BWilliams_dup1 Offline
Member

Registered: 03/09/03
Posts: 171
Loc: Southern California
So, anyone try this with 6.4.1 yet?

Top
#222478 - 05/16/04 03:04 PM Re: [6.2] Auto Group Change 1.1 beta [Re: vajraman]
donJulio Offline
Code Monkey

Registered: 06/17/02
Posts: 682
Loc: CA, USA
I had it going on 6.4. I'm upgrading to 6.4.2 shortly.
_________________________
Too many men. There's too many people making too many problems, and not much love to go around. Can't you see this is the Land of Confusion? <img src="http://www.ubbdev.com/forum/images/graemlins/confused.gif" alt="" />

Top
Page 2 of 2 < 1 2


Who's Online
0 Registered (), 38 Guests and 6 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Blogs, love em or hate em?
by AllenAyres
10/07/08 02:05 PM
What do you use to edit the files
by Ian_W
10/05/08 03:33 PM
BeyondCompare v3.00
by Ian_W
10/05/08 03:32 PM
Glossy Black Theme with Image Reflection
by Gizmo
10/05/08 02:17 PM
ShareThis
by Gizmo
09/28/08 05:06 AM
[7.3] Viewing MySQL logfiles made easier
by AllenAyres
09/27/08 09:57 PM
Looking for a simple upload script
by Murphdog
09/26/08 08:45 PM
New Mods
[7.3] Viewing MySQL logfiles made easier
by blaaskaak
09/24/08 05:39 PM
[7.3.1] add search to showmembers page
by blaaskaak
09/07/08 04:50 AM
Multiple Identity Detector
by
12/30/06 06:39 PM
Newest Members
pisa666, ghengis317, NitroX, Dogan, EliYah-
13345 Registered Users
Top Posters Last 30 Days
AllenAyres 12
blaaskaak 8
tackaberry 7
FREAK1 6
Mike L_dup1 4
Chris Bale 4
Ian_W 4

 

 

 
fusionbb message board php hacks