php forum
php mysql forum
php mysql smarty
 
Topic Options
#124518 - 12/12/01 12:46 AM Post Custom Titles Hack help
Raconteur Offline
Content King

Registered: 06/21/01
Posts: 167
Loc: Walnut Creek, CA USA
Hi all,

I just wrote a hack to add 3 custom titles based on number of user posts. So now it goes from Jr. Member to Member to L2Member, L3, and L4.

The code works fine but I cannot figure out how to get the user profiles to update with the new titles. I can see that field 7 is the number of posts and field 8 is the title in the user profile file. I have tried clearing the cache, rebuilding user stats and history files and rebuilding all forums. Nothing seems to update the user profiles... am I missing something, or is this a bit of code I need to write? If so, can anyone give me a nudge in the right direction?

Finally, is this a hack anyone would be interested in??

Thanks in advance for the help!

Chris
_________________________
syngnathid.org Information Exchange
Inaugural "Content Rulez" Contest Winner (May 2002)
Haxxor-of-the-Month May 2002

Top
#124519 - 12/12/01 01:40 AM Re: Post Custom Titles Hack help
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
Can you post a URL to the readme of the hack you installed please?

Top
#124520 - 12/12/01 01:33 PM Re: Post Custom Titles Hack help
Raconteur Offline
Content King

Registered: 06/21/01
Posts: 167
Loc: Walnut Creek, CA USA
This was just done as a mod request from my members. No readme... just did it on the fly. I could probably write one when I get a free minute. What did you need to know?
_________________________
syngnathid.org Information Exchange
Inaugural "Content Rulez" Contest Winner (May 2002)
Haxxor-of-the-Month May 2002

Top
#124521 - 12/12/01 06:06 PM Re: Post Custom Titles Hack help
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
All The code you added.

Top
#124522 - 12/12/01 09:56 PM Re: Post Custom Titles Hack help
Raconteur Offline
Content King

Registered: 06/21/01
Posts: 167
Loc: Walnut Creek, CA USA
OK, LD, sorry about the confusion... didn't put "readme" together with the actual hack code.

Here is the file:
http://www.mythosproductions.com/CustomTitlesHack.txt

Seems to be working well so far. As a member posts, his/her profile gets updated correctly. I just want to be able to update them as part of the hack install.

Thanks for the input,

Chris
_________________________
syngnathid.org Information Exchange
Inaugural "Content Rulez" Contest Winner (May 2002)
Haxxor-of-the-Month May 2002

Top
#124523 - 12/13/01 01:29 AM Re: Post Custom Titles Hack help
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
I'll get the code for you to add in public_display_profile.pl.

Top
#124524 - 12/13/01 01:43 AM Re: Post Custom Titles Hack help
Raconteur Offline
Content King

Registered: 06/21/01
Posts: 167
Loc: Walnut Creek, CA USA
Much obliged. Does the hack look OK? Seems there must be a more OO way of doing the extended selection statements but I just wanted to get it done.
_________________________
syngnathid.org Information Exchange
Inaugural "Content Rulez" Contest Winner (May 2002)
Haxxor-of-the-Month May 2002

Top
#124525 - 12/15/01 02:38 PM Re: Post Custom Titles Hack help
Raconteur Offline
Content King

Registered: 06/21/01
Posts: 167
Loc: Walnut Creek, CA USA
Hey LD,

Any luck getting that code bit done? Just wanted to be sure you didn't forget! <img src="wink.gif" border="0" alt="" />

Cheers,

Chris
_________________________
syngnathid.org Information Exchange
Inaugural "Content Rulez" Contest Winner (May 2002)
Haxxor-of-the-Month May 2002

Top
#124526 - 12/15/01 06:24 PM Re: Post Custom Titles Hack help
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
No I haven't yet. I've tried a few things but they haven't worked...

Top
#124527 - 12/15/01 07:10 PM Re: Post Custom Titles Hack help
Raconteur Offline
Content King

Registered: 06/21/01
Posts: 167
Loc: Walnut Creek, CA USA
Are you working on the mod to update the user profiles?
_________________________
syngnathid.org Information Exchange
Inaugural "Content Rulez" Contest Winner (May 2002)
Haxxor-of-the-Month May 2002

Top
#124528 - 12/15/01 11:36 PM Re: Post Custom Titles Hack help
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
No. I was just trying to help you with your problem.

Top
#124529 - 12/15/01 11:48 PM Re: Post Custom Titles Hack help
Raconteur Offline
Content King

Registered: 06/21/01
Posts: 167
Loc: Walnut Creek, CA USA
Well, like I said, everything seems to have worked just fine. It is just that the user profile files do not get updated until a user posts. I thought there would be a control panel function to address that but none of them seemed to do the trick.

Should one of them update the user profiles?
_________________________
syngnathid.org Information Exchange
Inaugural "Content Rulez" Contest Winner (May 2002)
Haxxor-of-the-Month May 2002

Top



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks