Page 1 of 1

Tweeking Bellabuffs

Posted: Sat Aug 06, 2016 9:11 am
by isavarg
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

Posted: Mon Aug 08, 2016 12:52 am
by Camy
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:

Code: Select all

if (empty($url) || $url == "http://") $url = "<del>www</del>"; else $url = "<a href=\"$url\" title=\"$name's website\">www</a>";
Where it's www, just slap in $url.

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>";
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.

Re: Tweeking Bellabuffs

Posted: Tue Aug 09, 2016 6:06 am
by isavarg
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.