Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 23 Mar 2017, 17:45
paonefx paonefx is offline
 
Join Date: Dec 2015
Thumbs up Need help in Phrase

Hello Mates,

Everything fine with my Forum and settings. I need help from you on custom phrase.

My Forum (4.2.4) display only to Registered Users and not for Guests and I changed "Private" Phrase to "To Access Signup / Login".

But I have One section for my "VIP Members" and I want to change not same like Private Phrase.

Can you help me how to change that Text.

See Image below, you'll get Idea what i mean. Sorry little bit language problem for me.


Thank You

Reply With Quote
  #2  
Old 23 Mar 2017, 18:16
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Have you considered putting that information in the forum description instead? Otherwise it will require some custom coding.
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #3  
Old 23 Mar 2017, 20:04
paonefx paonefx is offline
 
Join Date: Dec 2015
Originally Posted by MarkFL View Post
Have you considered putting that information in the forum description instead? Otherwise it will require some custom coding.
Yes we need custom coding or custom phrase for this particular section. Any Help ?

Thank You
Reply With Quote
  #4  
Old 23 Mar 2017, 20:09
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
 
Join Date: Sep 2008
Real name: Michael Miller Jr
Use the search in phrase manager, copy/paste that text into the search - see what phrases come up and the one you need to edit should show in the list .
__________________
Daddy Does Dios and Figs!

Search - Use the search feature to find similar issues/answers.
Information - Include screenshots, copy/pasted error codes, url etc.
Fixed - Please return to your thread/post and let us know how it was fixed!
Thanks - For participating! Click the "Like" on a post if someone helped you!
Reply With Quote
  #5  
Old 24 Mar 2017, 07:02
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Okay, here's what I would do...

Step 1: Create custom phrase as follows:


Click "Save" to save the new phrase.
Step 2: Create a new plugin as follows:
Product: vBulletin

Hook Location: forumbit_display

Title: Use Custom VIP Phrase As Applicable

Execution Order: 5

Plugin PHP Code:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace "XX" with the forumid of the private VIP forum.

Plugin is Active: Yes

Click "Save" to save the plugin.
This works on my local dev site...if you have any issues, let me know.
Attached Images
File Type: jpg vborg_privatephrase.jpg (59.1 KB, 22 views)
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #6  
Old 24 Mar 2017, 18:58
paonefx paonefx is offline
 
Join Date: Dec 2015
Originally Posted by MarkFL View Post
Okay, here's what I would do...

Step 1: Create custom phrase as follows:


Click "Save" to save the new phrase.
Step 2: Create a new plugin as follows:
Product: vBulletin

Hook Location: forumbit_display

Title: Use Custom VIP Phrase As Applicable

Execution Order: 5

Plugin PHP Code:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace "XX" with the forumid of the private VIP forum.

Plugin is Active: Yes

Click "Save" to save the plugin.
This works on my local dev site...if you have any issues, let me know.
Excellent...!!! Great Job Sir.

Thank You
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 20:24.

Layout Options | Width: Wide Color: