JoomlaDigger

Free Joomla PHP extensions, info, tutorials, etc.

Banner
Welcome, Guest
Please Login or Register.    Lost Password?

remove jd advert icon as a button
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: remove jd advert icon as a button
#355
remove jd advert icon as a button 2 Years, 3 Months ago Karma: 0
However much I respect the marketing ploy, I'd really like to remove the little jd icon that's listed with the rest of the bookmarks. Can anyone point me to the file?

Thanks

www.earththrives.com
Seravi
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#357
Re:remove jd advert icon as a button 2 Years, 3 Months ago Karma: 11
Small price to pay for a free plugin...

I don't have the code in front of me, but the line is somewhere near the bottom of the socialbookmarkerbot.php within an if statement.
swese44
Moderator
Posts: 967
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#358
Re:remove jd advert icon as a button 2 Years, 3 Months ago Karma: 0
I know, I know. Call me cheap!

Thanks for the direction. It's enough to get me started. I'll dig around for it.
Seravi
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#447
Re:remove jd advert icon as a button 2 Years, 1 Month ago Karma: 0
Hi: i have tried to remove the line without succes there are to many if statements for a newbie

Please could someone tell me which part exactly should i remove:blush:
Latina
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#1867
Re:remove jd advert icon as a button 11 Months, 2 Weeks ago Karma: 0
I tried to comment (putting // at the beginning of each line) the following code in plugins/content/ultimate_social_bookmarking_plugin.php (lines 202-205):

Code:


if ($bottomHtml != '')
{
$bottomHtml = $bottomHtml . $bottomSeparator .'<a href="http://joomladigger.com/" title="Free Joomla PHP extensions, software, information and tutorials."><img height="0px" width="0px" src="***imageDirectory***/ joomladigger.png" alt="Free Joomla PHP extensions, software, information and tutorials." title="Free Joomla PHP extensions, software, information and tutorials." /></a>';
}



(in this code backslashes will be automatically added when I'll submit this message).

but nothing happens, the button still appears?
Can anyone help me?
ondino
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2009/04/07 02:30 By ondino.
The administrator has disabled public write access.
 
#1868
Re:remove jd advert icon as a button 11 Months, 2 Weeks ago Karma: 11
If you commented it out then it should go away.
Did you save the file and upload it back to the correct directory?
Do you have caching on?

You can also set the if statement to:

if (false)
swese44
Moderator
Posts: 967
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#1869
Re:remove jd advert icon as a button 11 Months, 2 Weeks ago Karma: 0
I set the if statement to
if (false)
and it worked, the icon went out.
Anyway it's very strange that today commenting out that lines of code it didn't work: I did save the file and upload it back after editing it because I had open the file directly from the server (using FireFTP of Firefox).

Very strange...
anyway thank you very very much
ondino
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#1870
Re:remove jd advert icon as a button 11 Months, 2 Weeks ago Karma: 11
No problem, glad to help.
swese44
Moderator
Posts: 967
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#2347
Re:remove jd advert icon as a button 3 Months, 4 Weeks ago Karma: 0
Hi,

Can you please send me the code? I don't know how to set the if statement to (false)
Thank you.
jericho2k
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#2348
Re:remove jd advert icon as a button 3 Months, 3 Weeks ago Karma: 11
Go to the top of this page, then read every post. The exact code is given for the exact file you need to edit.
swese44
Moderator
Posts: 967
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#2357
Re:remove jd advert icon as a button 3 Months, 2 Weeks ago Karma: 0

Thanks for the good documentation and clear answers! I'm a novice and doing pretty well on this one.
old_fool
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1