The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
What modules is this? Are they available for download somewhere?
Does anyone know where to download these modules, I am after a module where it lets me write whatever I want for example, as in the picture "Vendor Of: Blabla" and then it redirects to that sales thread when you click on the text.
And I am also after that reputation module, you can give either positive, neutral or negative reputation. Does anyone know if they are publicly available or if they are custom made? Please let me know. |
#2
|
||||
|
||||
vb 3.8 or vb 4?
The Vendor of: can be created by creating two custom profile fields that only admin can see and edit. One profile field for the link name and one profile field for the URL. You will be able to add link name and url via acp /member profile, your members will not be able to edit this. You will then need to add code to postbit/postbit_legacy for it to show. If you need this for vb 3.8 board, I will give you the code needed to accomplish this. |
#3
|
|||
|
|||
Quote:
I would love if you could help out with making that vendor of: module. Would I also be able to change the color of the text? I will donate you some bitcoins as thanks for help. |
#4
|
||||
|
||||
No donation needed....
First, make two new profile fields. One for link name and one for link URL. Remember each new profile field number, you will need it to edit the code below with your new profile field numbers. DEMO: http://blind-eddie.com/forum/showthr...=1869#post1869 CREATE A BACK UP OF ANY TEMPLATE BEFORE YOU EDIT IT, YOU WILL NEED IT IF YOU HAVE ISSUES. In your postbit and/or postbit_legacy template search for Code:
$vbphrase[posts]: $post[posts] Don't forget to edit the profile field numbers Use the following if you want the link to open in a large adjustable popup. Code:
<!-- Start Vendor--> <div class="smallfont" align="left"> <if condition="$post[field43]"><br><font color="red">Vendor of:</font> <br><a href="#" onclick="window.open('$post[field44]','vendor1','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=950,height=450'); return false;"><font color="green">$post[field43]</font></a><br> </if></div> <!-- End Vendor--> OR Don't forget to edit the profile field numbers Use the following code if you want the link to open in the same window. Code:
<!-- Start Vendor--> <div class="smallfont" align="left"> <if condition="$post[field46]"><br><font color="red">Vendor of:</font> <br> <a href="$post[field46]"><font color="yellow">$post[field45]</font></a> </if></div> <!-- End Vendor--> Happy Editing |
3 благодарности(ей) от: | ||
Brandon Sheley, Lynne, Simon Lloyd |
#5
|
||||
|
||||
Hello Snuddo, instead of chating via pm, I would rather post info here.
Quote:
Sorry there is no addon for this that I am aware of. And again, no money needed. You will have to first create two new profile fields. ACP/User Profile Fields/Add New User Profile Field, Select: Single-Line Text Box Title: Vendor Name Description: Add what ever you want. Leave all other settings as they are. Down in the Display Page Section select "Options Other" (Selecting this will show the fields at the bottom of the Edit Options page.) Save Repeat this for the second profile field but change the Title to "Vendor URL" Remember the profile field number for each. Please remember to copy any templates and save them to your desk top before you edit them, incase you have an issue. Follow the steps, using one of options I posted above. ================================================== ==== To allow these profile fields to be used by a specific usergroup you will need to add some code to the userfield_wrapper template. ACP/Styles & Templates/Search in Templates/Select your style. Add userfield_wrapper in the text box. Search Titles Only, select Yes At the very top of the userfield_wrapper template add the following code: Code:
<if condition="THIS_SCRIPT != 'profile' OR (!in_array($profilefield[profilefieldid], array(43,44)) OR is_member_of($bbuserinfo, 6))"> Change 6 to the Usergroup you wish to see and use these profile fields. At the very bottom of the userfield_wrapper template add: Code:
</if> |
Благодарность от: | ||
Lynne |
#6
|
|||
|
|||
Would there be anything different to do this for vb 4.2?
|
#7
|
||||
|
||||
I believe you would need to change $profilefield[profilefieldid] to $post[profilefieldid] and both if to vb:if
|
Благодарность от: | ||
CharlieDelta |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|