Tweeking Bellabuffs

Everything related to the visual and coding aspects of websites.
Post Reply
isavarg
Posts: 23
Joined: Mon Apr 04, 2016 10:04 am
Contact:

Tweeking Bellabuffs

Post 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.
User avatar
Camy
Administrator
Posts: 1482
Joined: Mon Jul 16, 2012 9:21 pm
Location: Texas
Contact:

Re: Tweeking Bellabuffs

Post 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.
I accept your challenge, "high prince", but I am no general.
isavarg
Posts: 23
Joined: Mon Apr 04, 2016 10:04 am
Contact:

Re: Tweeking Bellabuffs

Post 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.
Post Reply