Go Back   Pligg CMS Forum > Pligg Development > Pligg Modules

Reply
 
LinkBack Thread Tools
Sidebar Ads Module v0.1 Details »»
Sidebar Ads Module v0.1
Version: , by nzbullet (Coder) nzbullet is offline
Developer Last Online: Oct 2008 Show Printable Version Email this Page

Version: Unknown Rating: (1 votes - 5.00 average)
Released: 04-25-2008 Last Update: Never Installs: 7
 
No support by the author.

I have created a new module that displays images in a carousel in your sidebar.

You need a minimum of 4 images for this module to work properly and there is no upper limit (that I know of)

Download Now

File Type: zip sidebar_ads.zip (71.8 KB, 41 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2 (permalink)  
Old 04-25-2008, 06:40 AM
KPR KPR is offline
Casual Pligger
 
Join Date: Aug 2007
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
Is that a maximum of 4 ads needed to work or can more be added.
Reply With Quote
  #3 (permalink)  
Old 04-25-2008, 06:50 AM
nzbullet's Avatar
Coder
 
Join Date: Jun 2007
Location: New Zealand
Posts: 133
Thanks: 17
Thanked 19 Times in 14 Posts
Quote:
Originally Posted by KPR View Post
Is that a maximum of 4 ads needed to work or can more be added.
You need to have a minimum of 4 ads.

You can have as many as you want, I currently have 7 ads running.

To add more, Open "modules/sidebar_ads/sidebar_ads.tpl"

Find </ul> and before it add:

Code:
<li>
<a href="http://www.URLHERE.com" target="blank"><img src="/modules/sidebar_ads/images/IMAGE_NAME_HERE.png"></a>
</li>
You can add as many as you want just keep inserting them. Obviously you need to change the link url and image name
__________________
Cheers

Dan
Reply With Quote
  #4 (permalink)  
Old 04-25-2008, 08:53 AM
nzbullet's Avatar
Coder
 
Join Date: Jun 2007
Location: New Zealand
Posts: 133
Thanks: 17
Thanked 19 Times in 14 Posts
Bug Found

I have found a bug with the module (already )

For some reason it is stopping any "onclick=\"new Effect.toggle" from working. For example if you try to collapse a sidebar box when this is enabled it won't. And it affects ALL instances of this. On Linka I have this effect in use for my "login" and "search" forms.

I am trying to figure this out, but as I do not know too much about coding if anyone has any suggestions on how I can fix this it would be greatly appreciated.
__________________
Cheers

Dan
Reply With Quote
  #5 (permalink)  
Old 04-26-2008, 04:03 AM
nzbullet's Avatar
Coder
 
Join Date: Jun 2007
Location: New Zealand
Posts: 133
Thanks: 17
Thanked 19 Times in 14 Posts
OK I am stuck, can anyone help with this problem?
__________________
Cheers

Dan
Reply With Quote
  #6 (permalink)  
Old 06-01-2008, 12:58 PM
AnAlienHolakres3's Avatar
Coder
 
Join Date: Jul 2007
Location: Prague
Posts: 118
Thanks: 7
Thanked 112 Times in 40 Posts
Send a message via ICQ to AnAlienHolakres3
Quote:
Originally Posted by nzbullet View Post
OK I am stuck, can anyone help with this problem?
Yeah man you use JQuery and Scriptaculous together. These js libraries are not immediately compatible to work simultaneously.
__________________
=Everything that has a beginnig has an end=
=Nevere stop fighting=

Site: http://www.vselink.cz

Last edited by AnAlienHolakres3; 06-01-2008 at 01:04 PM..
Reply With Quote
  #7 (permalink)  
Old 10-01-2008, 01:38 AM
New Pligger
Pligg Version: 9.9.5
Pligg Template: silverbullet
 
Join Date: Jan 2008
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Update. Need to change "sidebar_ads_admin_main_link.tpl"

{config_load file="/libs/lang.conf"}
to
{config_load file="/languages/lang_english.conf"}
Reply With Quote
Reply

Thread Tools
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
Fixes to Profile Extra Fields Module v0.2 and Extended Profile Module v0.1 redwine Modification Tutorials 3 10-18-2008 10:28 AM
Help needed with code insertion into sidebar module. jemaverick General Help 3 03-27-2008 01:27 PM
Google Translate v0.1 Sidebar Pligg Module pliggedit Modification Tutorials 3 03-16-2008 02:57 AM
Sidebar Friends Module with messaging and activity AnAlienHolakres3 Modification Tutorials 31 02-09-2008 06:54 AM
differents class for sidebar module lacasuela "yget" 5 01-21-2008 02:32 PM


Search Engine Friendly URLs by vBSEO 3.2.0