[ABD] Personal Rank Mod v0.1.3

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.
ihermit
Registered User
Posts: 251
Joined: Wed Mar 05, 2008 4:26 am

Re: [BETA] Personal Rank Mod

Post by ihermit »

*Christian* wrote:Maybe also permissions would be cool, allow certain groups / members to have permission to use feature
Why stop there? Integrations with the cash mod would be great!
haha jk:)
User avatar
^[GS]^
Registered User
Posts: 274
Joined: Sun Aug 06, 2006 10:59 pm
Location: Argentina
Contact:

Re: [BETA] Personal Rank Mod

Post by ^[GS]^ »

Calmly, I'm not superman! :lol:

For add, a filter of bad words...

Edit includes/upc/upc_profile.php
Find

Code: Select all

                   'personal_rank'   => utf8_normalize_nfc(request_var('personal_rank', $user->data['user_personal_rank'], true)),
Replace with

Code: Select all

                   'personal_rank'	=> utf8_normalize_nfc(censor_text(request_var('personal_rank', $user->data['user_personal_rank']), true)),
new version 0.1.2

I am thinking about permits ... if I can not leave, but I think if I can make it for each individual user, and that the administrator can remove the permission to use personal rank of a particular user ... I do not know if groups are equal with the code. :roll:
Kharon
Registered User
Posts: 235
Joined: Thu Oct 26, 2006 5:27 pm

Re: [BETA] Personal Rank Mod v0.1.2

Post by Kharon »

nice mod..

şğüı = ???? UTF8 problem

UCP : no problem

ACP : SQL ERROR [ mysql4 ]
Unknown column 'personal_rank' in 'field list' [1054]
ihermit
Registered User
Posts: 251
Joined: Wed Mar 05, 2008 4:26 am

Re: [BETA] Personal Rank Mod v0.1.2

Post by ihermit »

I've been excited about this mod since its release, I'm gunna install now and post feedback ;) Alright: First thing I've noticed is your sql changes.

Code: Select all

ALTER TABLE foro_users ADD user_personal_rank VARCHAR(50) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT 'Registred User';
Make sure in the next release to add a note for users to change the
[foru_users] to their database settings.
User avatar
^[GS]^
Registered User
Posts: 274
Joined: Sun Aug 06, 2006 10:59 pm
Location: Argentina
Contact:

Re: [BETA] Personal Rank Mod v0.1.2

Post by ^[GS]^ »

şğüı = ???? UTF8 problem
when?

Yeah, sorry... i use
ALTER TABLE foro_users
*foro = prefix
ihermit
Registered User
Posts: 251
Joined: Wed Mar 05, 2008 4:26 am

Re: [BETA] Personal Rank Mod v0.1.2

Post by ihermit »

No problem, make a note to users in the next release to change the prefix :P

I noticed that some finds (Such as the first one) Appear twice.
Could you please also put a comment in the next version about that? Thanks :D

Also, I found a typo in the installation.
Open: styles/subsilver2/template/ucp_profile_profile_info.html

Code: Select all

<tr> 
	<td class="row1" width="35%"><b class="genmed">{L_PERSONAL_RANK}: </b></td>
	<td class="row2"><input class="post" type="text" name="personal_rank" size="30" maxlength="15" value="{PERSONAL_RANK}}" /></td>
</tr>
Change

Code: Select all

"{PERSONAL_RANK}}" 
to

Code: Select all

"{PERSONAL_RANK}" 
Other than that, works like a charm :D
Again, great mod!
User avatar
^[GS]^
Registered User
Posts: 274
Joined: Sun Aug 06, 2006 10:59 pm
Location: Argentina
Contact:

Re: [BETA] Personal Rank Mod v0.1.2

Post by ^[GS]^ »

Yes, I'll make the note on the prefix ^ ^

Thanks ihermit Thanks ihermit! Thank you for finding so many mistakes ^ ^

the next version will be around in order ^ ^
ihermit
Registered User
Posts: 251
Joined: Wed Mar 05, 2008 4:26 am

Re: [BETA] Personal Rank Mod v0.1.2

Post by ihermit »

^[GS]^ wrote:Yes, I'll make the note on the prefix ^ ^

Thanks ihermit Thanks ihermit! Thank you for finding so many mistakes ^ ^

the next version will be around in order ^ ^
No problem, I love the mod. Someone mentioned that this mod was already created, but yours is about 100x easier and faster to install.
Also, a feature request:P
Can you make it possible to parse bbcodes in the personal rank?
User avatar
^[GS]^
Registered User
Posts: 274
Joined: Sun Aug 06, 2006 10:59 pm
Location: Argentina
Contact:

Re: [BETA] Personal Rank Mod v0.1.2

Post by ^[GS]^ »

Thanks ^^ I think if possible ^^ :ugeek:
ihermit
Registered User
Posts: 251
Joined: Wed Mar 05, 2008 4:26 am

Re: [BETA] Personal Rank Mod v0.1.2

Post by ihermit »

Great:)
How about the feature request though :mrgreen:
User avatar
^[GS]^
Registered User
Posts: 274
Joined: Sun Aug 06, 2006 10:59 pm
Location: Argentina
Contact:

Re: [BETA] Personal Rank Mod v0.1.2

Post by ^[GS]^ »

Ready! New Version!

2008-06-04 - Version 0.1.3
+ BBCode Support
+ Fix in subsilver2 template (reported by ihermit)
+ Fix in sql example (reported by Kharon & ihermit)

:ugeek:
ihermit
Registered User
Posts: 251
Joined: Wed Mar 05, 2008 4:26 am

Re: [BETA] Personal Rank Mod v0.1.3

Post by ihermit »

Yes! amazing, just what I need:)
Thanks so much. :mrgreen:
naushadhassam
Registered User
Posts: 506
Joined: Wed Aug 15, 2007 9:57 pm
Contact:

Re: [BETA] Personal Rank Mod v0.1.3

Post by naushadhassam »

great stuff going
Free Hosting - Here
Sports Entertainment Online ( A PS3 Online Gaming Community ) - Here
FREE UNLIMITED HOSTING FOR PHPBB MOD MAKERS - PM ME FOR MORE INFO ( MY WAY ON DONATING TO PHPBB )
Kharon
Registered User
Posts: 235
Joined: Thu Oct 26, 2006 5:27 pm

Re: [BETA] Personal Rank Mod v0.1.3

Post by Kharon »

hi, ^[GS]^

turkish character set
şğüı = ????? = problem

censor_text = remove .. no problem :)

find

Code: Select all

//-- mod : Personal Rank ------------------------------------------------------------
//-- add
					'personal_rank'	=> utf8_normalize_nfc(censor_text(request_var('personal_rank', $user->data['user_personal_rank']), true)),
//-- fin mod : Personal Rank --------------------------------------------------------
replace (and includes/acp/acp_users.php - add)

Code: Select all

//-- mod : Personal Rank ------------------------------------------------------------
//-- add
					'personal_rank'	=> utf8_normalize_nfc(request_var('personal_rank', $user->data['user_personal_rank'], true)),
//-- fin mod : Personal Rank --------------------------------------------------------
User avatar
^[GS]^
Registered User
Posts: 274
Joined: Sun Aug 06, 2006 10:59 pm
Location: Argentina
Contact:

Re: [BETA] Personal Rank Mod v0.1.3

Post by ^[GS]^ »

Skin censor_text that is the filter for bad language

Unfortunately not all of turkish character set: (
Locked

Return to “[3.0.x] Abandoned MODs”