Tweeking Bellabuffs
Tweeking Bellabuffs
I am wanting to use bellabuffs in a website directory and I'd like to know how to change the www link to show a site's url, instead of just www, and I'd also like to add an image button field to it so that sites can display one of their link buttons/codes. Could someone give me some advise, please? I know that I can change the countries.txt over to website categories.
Re: Tweeking Bellabuffs
Have you heard of Ninjalinks? It's by the creator of Bellabuffs and made specifically for website directories: http://www.jemjabella.co.uk/scripts/ninjalinks/
if you still want to use Bellabuffs though, you will have to edit the members.php file and change line 125:
Where it's www, just slap in $url.
Should look like after:
I haven't tested it, but it should work.
For the buttons, you will need to do a lot more editing I believe in the submission form, members, and admin area. Ninjalinks has these already so I would just go with it or grab the code from it.
if you still want to use Bellabuffs though, you will have to edit the members.php file and change line 125:
Code: Select all
if (empty($url) || $url == "http://") $url = "<del>www</del>"; else $url = "<a href=\"$url\" title=\"$name's website\">www</a>";
Should look like after:
Code: Select all
if (empty($url) || $url == "http://") $url = "<del>$url</del>"; else $url = "<a href=\"$url\" title=\"$name's website\">$url</a>";
For the buttons, you will need to do a lot more editing I believe in the submission form, members, and admin area. Ninjalinks has these already so I would just go with it or grab the code from it.
I accept your challenge, "high prince", but I am no general.
Re: Tweeking Bellabuffs
Ninja links needs a database setting up, which is why I don't want to use it, as I can only have so many. Plus, I've had difficulty installing databases before when the database isn't installed via softaculous.