The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

User Title Shop [All version]

3 posters

Go down

User Title Shop [All version] Empty User Title Shop [All version]

Post by zest_n September 5th 2024, 9:22 pm

Hello everyone. Today, I want to share a feature that can be used as a reward for members ^^! (They can purchase it with their points). This feature is 'User Title Shop'.

User Title Shop [All version] NaUWIfH

Spoiler:

Step1. ACP >> Users >> Users & Groups >> Profiles >> Add a new field as follows:

User Title Shop [All version] PGDePop

Next, go to the Administrator profile page (/u1) >> Find the field you created earlier >> Edit field value >> right-click on the textarea >> inspect element >> Remember the number highlighted in the image below.

User Title Shop [All version] 3JHT3u0

Step2. ACP >> General >> Forum >> Categories & Forums >> Add a new forum. Information about this forum is optional and can be entered at your discretion. (Ex: The forum name can be: User title change logs...)

Go to this forum, start a new topic (optional title, ex: BBcode title...), and remember the topic ID and the forum ID (ex: /f1-, /t100-...)

Step3. Set the permissions for this forum as shown in the image below and save:

User Title Shop [All version] C2XDM10

(Members are allowed to create topics and post replies. Only administrators can view the posts)

Step4. ACP >> Modules >> Points and reputation >> Points system >> Points management. Set the number of points required to purchase the 'Plain Text' title in the 'per subject' column, and the 'BBcode' title in the 'per message' column >> Save. Ex: -500 or -1000 (must have a minus)

Step5. ACP >> Modules >> HTML & Javascript >> HTML pages management >> Create in advanced mode (HTML)

Title: Optional
Do you wish to use your forum header and footer ? Yes
Content:
Spoiler:

- Replace
Code:
forum_id
and
Code:
topic_id
in the code with the numbers remembered from step 2. (Plain text - forum_id, BBcode - topic_id)

- Replace
Code:
500
with the number of points set in the 'per message' column, and
Code:
1000
with the number of points set in the 'per subject' column.

- Replace
Code:
id: "1"
with the number found after
Code:
field_id
in step 1, and replace
Code:
profile_field_2_1
with the value in
Code:
name=""
(step 1).

- Submit this HTML page.

NOTE:
- When you need to delete old posts, set the forum's points to 0. After deletion, restore the points to original values. You can set up auto-pruning in the ACP.
- You can customize the input fields for each title according to this post (ex: maxlength,...)
- Fix the issue of automatic bolding of titles in AwesomeBB version:
Add to CSS
Code:
.post-author-details span{font-weight:normal!important}
- Hide the 'User Title' section on the 'Edit Profile' page: ACP >> Display >> Templates >> Profile >> profile_add_body >> Add to the end of the template and save:
Code:
<script> $(function(){$("label:contains('User Title').remove();});</script>

** Do not remove the copyright when using this feature.


Last edited by zest_n on September 21st 2024, 5:32 pm; edited 1 time in total
zest_n
zest_n
New Member

Posts : 16
Reputation : 7
Language : English

invisible_fa, SarkZKalie, TonnyKamper, poesia-verses, tikky, كونان2000 and Wizzard like this post

Back to top Go down

User Title Shop [All version] Empty Re: User Title Shop [All version]

Post by YoshiGM September 7th 2024, 4:41 pm

Hmm.. Interesting
You can autommate a shop for the members and avoid the staff to intervening 🤔


YoshiGM
YoshiGM
Active Poster

Male Posts : 1558
Reputation : 146
Language : Spanish & English
Location : Mexico

http://asistencia.foroactivo.com/u21373

zest_n likes this post

Back to top Go down

User Title Shop [All version] Empty Re: User Title Shop [All version]

Post by كونان2000 September 8th 2024, 5:29 am

Thank you for the wonderful participation.
كونان2000
كونان2000
Forumember

Male Posts : 279
Reputation : 115
Language : Arabic

https://anime.forumperso.com/

zest_n likes this post

Back to top Go down

User Title Shop [All version] Empty Re: User Title Shop [All version]

Post by zest_n September 21st 2024, 8:46 pm

@كونان2000 thank you luv
@YoshiGM That's right. Completely automated, members can change their titles at any time without having to wait for a moderator's approval.



Because the 'User Title Shop' allows members to freely change their titles (with no censorship on words when purchasing), there will be some violating titles. Today, I added a feature that allows moderators to delete violating titles without needing to access the violator's profile.

Description wrote:- Moderators cannot change user titles as they wish; they can only delete the titles of members who violate the rules.
- An automatic warning will be added, allowing all members to see the name of the moderator who removed the title.
- Members who have their titles removed can still purchase a new one. If they continue to violate the rules, moderators may take stronger actions, such as banning access.

User Title Shop [All version] 6cNwBPK

ACP >> Modules >> HTML & Javascript >> HTML pages management >> Create in advanced mode (HTML)

Title: Moderator Control Panel - Delete User Title
Do you wish to use your forum header and footer ? Yes
Content:
Spoiler:

NOTE:
- In the "who can modify the profile field value ?" section (step 1), check both Moderators and Member himself
- Replace the number 1 in
Code:
id: "1"
and
Code:
#field_id1
with the number found after
Code:
field_id
in step 1
- Replace
Code:
profile_field_2_1
with the value in
Code:
name=""
(step 1)
zest_n
zest_n
New Member

Posts : 16
Reputation : 7
Language : English

TonnyKamper, كونان2000 and Wizzard like this post

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum