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: 25411
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: 25411
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: 25411
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: 25411
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


Top Posters Last 30 Days
AllenAyres 13
Gizmo 10
sirdude 2
willing 2
S7ARBVCK 2
MattUK 1
Kevin H 1
Who's Online
0 Registered (), 26 Guests and 6 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Noob - need help, or a reality check!
by Gizmo
Today at 03:21 AM
Here I am! Rock me like a Hurricane!
by AllenAyres
09/02/08 03:05 PM
[7.x] Generic Page Outside of forum directory
by Gizmo
08/30/08 05:43 PM
Team UBBDev Rides Again!
by Gizmo
08/28/08 11:45 PM
Multiple Identity Detector
by MattUK
08/28/08 04:10 PM
[7.3.x] ubb.links
by AllenAyres
08/26/08 09:57 AM
Installing FlashChat with 7.3
by Gizmo
08/23/08 05:36 AM
New Mods
Installing FlashChat with 7.3
by Paug
08/23/08 12:14 AM
[7.3.x] ubb.links
by AllenAyres
06/20/08 11:50 PM
[7.2.1] - Naked shoutbox
by sirdude
08/17/07 10:36 PM
[7.x] Generic Page Outside of forum directory
by
01/14/07 10:58 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
Newest Members
veedubb8, twentyseven, Claus1, welcomeback1, Paug
13327 Registered Users

 

 

 
fusionbb message board php hacks