View Full Version : Need help in Phrase
paonefx
03-23-2017, 04:45 PM
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
https://vborg.vbsupport.ru/external/2017/03/15.png
MarkFL
03-23-2017, 05:16 PM
Have you considered putting that information in the forum description instead? Otherwise it will require some custom coding. :)
paonefx
03-23-2017, 07:04 PM
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
TheLastSuperman
03-23-2017, 07:09 PM
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 ;).
MarkFL
03-24-2017, 06:02 AM
Okay, here's what I would do...
Step 1: Create custom phrase as follows:
https://vborg.vbsupport.ru/attachment.php?attachmentid=156066&stc=1&d=1490338571
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:
if ($forum['forumid'] == XX AND $forum['lastpostinfo'] == $vbphrase['private'])
{
$forum['lastpostinfo'] = $vbphrase['vip_private'];
}
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. :)
paonefx
03-24-2017, 05:58 PM
Okay, here's what I would do...
Step 1: Create custom phrase as follows:
https://vborg.vbsupport.ru/attachment.php?attachmentid=156066&stc=1&d=1490338571
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:
if ($forum['forumid'] == XX AND $forum['lastpostinfo'] == $vbphrase['private'])
{
$forum['lastpostinfo'] = $vbphrase['vip_private'];
}
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. :up::up::up:
Thank You
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.