View Full Version : Mini Mods - Easy Custom link in postbit
Vaupell
02-10-2010, 10:00 PM
Vb 4 Costum link in postbit
released on 11-feb-2010
About :
Someone requested it in the wrong forum
should have been in mod requests, but anyway here it is
https://vborg.vbsupport.ru/showthread.php?t=231930
by default it links to "my albums" in vbulletin.
Change link's etc as you want in admincp->vbulletin->options
find it on the dropdown list.
Features :
- Possible to add userID's at the end of the links
usefull for linking to users own stuff on vbulletin
Download :
Old / normal version : 112100
New / alternative version : 122665
History :
11-feb-2010 : Version 1.0 released
08-okt-2010 : added version that opens in new window when clicked.
old version still here.
Changelog :
Installation instructions :
1) Import the product,
2) Set settings in adminCP
Uninstallation instructions :
1) uninstall the product as any other.
Plans for furture upgrades + bug's found :
- no futher plans, got some idea's ? post them
voglermc
02-11-2010, 05:29 PM
Sweet!
BlackJacket
02-11-2010, 06:49 PM
Costum is not correct. Custom is the correct spelling. :)
Thanks for the mod. Does a user have the ability to ad their own link?
RL714
02-11-2010, 07:12 PM
how about multiple links ?
voglermc
06-03-2010, 10:45 AM
Still working like a champ!
jgt58
06-10-2010, 02:34 AM
awesome , awesome mod!!! Thanks!
stl7997
06-10-2010, 02:41 AM
Works on mine... Thanks!
voglermc
06-21-2010, 04:51 PM
Might need an update for 4.0.4
Vaupell
06-21-2010, 05:42 PM
Might need an update for 4.0.4
why it works fine.
if link disappeared while updateing, just reimport the existing product, and overwrite..
recheck settings.
KURTZ
06-22-2010, 07:38 AM
i'm wondering about this hack: runs with the horizontal postbit?
stevejobs
06-22-2010, 08:25 AM
We can add an image in the tittle?
voglermc
06-22-2010, 11:02 AM
I've re-imported, turned off and back on and still nothing
voglermc
08-03-2010, 12:19 PM
Is there any way to add multiple links to different areas?
G37Sam
09-09-2010, 06:36 AM
Thanks for this mod!
Hope you dont mind me editing the XML file though to fix the word costum :D
voglermc
10-07-2010, 01:14 PM
I still can't get it to work again in 4.0.6
Vaupell
10-07-2010, 03:31 PM
Thanks for this mod!
Hope you dont mind me editing the XML file though to fix the word costum :D
ofcourse not!
I still can't get it to work again in 4.0.6
Just installed it on a 4.0.7 works fine..
exsampel : http://www.tebt.org/showthread.php?27-Need-help-financeing-your-horse-Need-a-loan.-Horse-loans..
And if you want help, i need ALOT more info than "it dosent work"
or maybe a link to where it was supposed to work..
voglermc
10-07-2010, 05:50 PM
<a href="http://www.tarheelminis.org/showthread.php?4828-10-09-10-Triangle-Scavenger-Hunt" target="_blank">http://www.tarheelminis.org/showthre...Scavenger-Hunt</a>
Vaupell
10-07-2010, 09:19 PM
http://www.tarheelminis.org/showthread.php?4828-10-09-10-Triangle-Scavenger-Hunt
thats a costum template, something is missing..
thats the problem, is your hook locations inplace..
if you look in the code you see this mod uses
hook : postbit_userinfo_right_after_posts
which is present by default,
unfortunally i cant select another theme/style on your site so cant tell
if its there or not.
BadgerDog
10-08-2010, 10:52 AM
Installed... thank you .... :)
Can't quite get it to do what we need for our Classifieds ads ...
What would it cost to have it modified so we could have the link always add the user ID after the letter u, then put a single dash - in, followed by .html
Example:
http://www.xxxxx.com/pp-classifieds/u2-.html
The 2 is the variable in this case ...
It's always the same format and takes the user who clicks the link to a page that shows all of that userid member ads.
Thanks again ...
Regards,
Badger
Vaupell
10-08-2010, 11:46 AM
Installed... thank you .... :)
Can't quite get it to do what we need for our Classifieds ads ...
What would it cost to have it modified so we could have the link always add the user ID after the letter u, then put a single dash - in, followed by .html
Example:
http://www.xxxxx.com/pp-classifieds/u2-.html
The 2 is the variable in this case ...
It's always the same format and takes the user who clicks the link to a page that shows all of that userid member ads.
Thanks again ...
Regards,
Badger
Try this then.
Uninstall the other product first..
Try this now updated :
BadgerDog
10-08-2010, 12:12 PM
Try this then.
Uninstall the other product first..
Try this now updated :
Wow... that was quick ... :D
Uninstalled standard version and imported custom version ...
I wasn't sure what to put as settings, so I left "enable userid at end" OFF and I put this in as the link:
http://www.xxxx.com/pp-classifieds/
I now get this as a link output when I view the link at the postbit_legacy display.
http://www.xxxx.com/pp-classifieds/-.html
So, I turned "enable userid at end" ON and I get this as a link output when I view the link at the postbit_legacy display.
http://www.xxxx.com/pp-classifieds/.$post[userid].-.html
It's close, so all I need now is to get the actual userid of the member from his postbit and plug it in front of the DASH ie: http://www.xxxx.com/pp-classifieds/userid-.html
Thanks for your help ... it is appreciated...
Regards,
Badger
Vaupell
10-08-2010, 12:36 PM
ahh small mistake placing '' s
and ofcourse always enable when using this special edition.
122661
BadgerDog
10-08-2010, 01:29 PM
ahh small mistake placing '' s
and ofcourse always enable when using this special edition.
122661
Worked great ... thank you .... :up:
I turned "enable userid at end" ON and used this as the link.
http://www.xxxx.com/pp-classifieds/u
It put the member's postbit userid after the letter "u" and added the "-.html" just fine ....
Now when a member clicks on another member's link, it takes them to ALL classified ads that have been placed by that member.
I just sent you a PayPal donation with thanks .... ;)
Regards,
Badger
Edit: Is there a way to have it open a NEW page for the link instead of just using the existing page ? Maybe add an option?
Vaupell
10-08-2010, 01:41 PM
Edit: Is there a way to have it open a NEW page for the link instead of just using the existing page ? Maybe add an option?
yeah install this
122664
just overwrite existing installation, by putting checkmark in allow overwrite.
BadgerDog
10-08-2010, 02:11 PM
yeah install this
122664
just overwrite existing installation, by putting checkmark in allow overwrite.
Works great ... :up:
Might be a good option to add to the mod for folks, so they can decide what method (new or existing) type of page opening?
Thanks again ... :)
Regards,
Badger
voglermc
10-08-2010, 02:26 PM
Okay I reverted my postbit legacy template and nothing is showing. Sorry, I'm a novice at VB. Thanks for your help in getting this to work again
Vaupell
10-08-2010, 02:52 PM
Okay I reverted my postbit legacy template and nothing is showing. Sorry, I'm a novice at VB. Thanks for your help in getting this to work again
please private message me your entire - postbit_legacy template..
something is wrong there.
tattooz
12-02-2010, 09:41 AM
Is it possible to add multiple links?
ProFifaLeagues
12-24-2010, 10:38 PM
Be great to be able to add multi links to this!
Would it be possible in a update?
merk_aus
12-29-2010, 09:03 PM
how do you get the blog to appear like you have in the screenshots?
hiker
01-22-2011, 08:32 PM
Installed on 4.0.2, working great.
hiker
01-25-2011, 12:35 AM
One question, how would I go about adding a cron job to correlate with this?
This link I created is a custom search on my forum, searching threads posted by user with a certain prefix.
Would it be possible for me to add code that would display the quantity of those threads next to the custom link?
An example of that link is here:
http://www.bogley.com/forum/showthread.php?44422-Your-Trip-Reports-Show-themz-to-me
I'd love to show the quantity, maybe only calculating once per day, next to the "My Trip Reports" link.
If there's no easy way to do it with this mod, I'll continue looking. Thanks.
Divvy
08-12-2011, 10:40 PM
Vaupell, is possible to hide the link when the user dont have nothing to show?
For example, about the albums, If a user dont have any, the link will not appear...
Is difficult to make that? :)
gezuvor
03-02-2012, 10:08 PM
Installed on 4.1.10 and working very well. I am trying to tweak this a bit so it will count albums. Any suggestions?
Jesakos
03-30-2013, 07:46 AM
very good, its possible to put something like $username or something on custom link ? because i need that without id but in username.. like $bbuserinfo[username]
xxdestinyxx
12-19-2013, 08:23 PM
Would it be possible for us to choose the link inserted? For example I want to add a link for members to just enter their username from another site and then have that link appear on the posts.
So my link would be something like say... www.website.com/profile/USERNAME
I would enter " www.website.com/profile/" and when they fill in the USERNAME part it would add it to the link OR - they have to have the same username on the website as the forum so even if it just obtained their username automatically that would be great :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.