Home Private Messages Search
CPG Dragonfly™ CMS stopsoftwarepatents.eu petition banner
Toggle Content
 
Forums ⇒ DragonflyCMS ⇒ Add-Ons & Blocks ⇒ Probanner not working after update


Probanner not working after update
Need help creating a block or add-on, or you have created or modified a block/add-on that works in Dragonfly CMS and it meets the CPG Security Requirements? Do you have feedback about a specific add-on? Here is the place to post. Read the announcements here first!.
Go to page 1, 2  Next
Post new topic    Reply to topic    Printer Friendly Page     Forum Index ⇒  Add-Ons & Blocks

View previous topic :: View next topic  
Author Message
piraja
Nice poster
Nice poster

Offline Offline
Joined: Apr 28, 2006
Posts: 63
Location: Finland
PostPosted: Sat Feb 16, 2008 8:25 pm
Post subject: Probanner not working after update

After update ProBanner module is not working right. Cannot see the banner in header...

Tried to change the code in theme.php:
Code::
'S_BANNER'     => ($banners) ? viewbanner() : '',
to:
Quote::
//'S_BANNER' => ($banners) ? viewbanner() : '',
'S_BANNER' => ($banners) ? pbbanner() : '',

But after that I get error:
Quote::

Fatal error: Call to undefined function pbbanner() in /var/www/pereklubi/themes/default/theme.php on line 78

What I need to do?


piraja's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux / 2.0 / 5.0.67 / 5.2.6 / 9.2.1
Back to top
View user's profile Visit poster's website
Phoenix
• Many Posts •
• Many Posts •

Offline Offline
Joined: Apr 19, 2004
Posts: 8799
Location: Netizen
PostPosted: Sat Feb 16, 2008 8:30 pm
Post subject: Re: Probanner not working after update

You need to contact the author of ProBanner.

Moved to the add-ons forum.


Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website Photo Gallery
piraja
Nice poster
Nice poster

Offline Offline
Joined: Apr 28, 2006
Posts: 63
Location: Finland
PostPosted: Sat Feb 16, 2008 8:35 pm
Post subject: Re: Probanner not working after update

Thank you, will do that Smile


piraja's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux / 2.0 / 5.0.67 / 5.2.6 / 9.2.1
Back to top
View user's profile Visit poster's website
Phoenix
• Many Posts •
• Many Posts •

Offline Offline
Joined: Apr 19, 2004
Posts: 8799
Location: Netizen
PostPosted: Sat Feb 16, 2008 8:48 pm
Post subject: Re: Probanner not working after update

Good - the reason we always insist on that is because,

a) it is our policy for 3rd party (active) mods to be supported on the author's site

b) it gives the author the chance to fix an issue for all users of that mod.

(applies to themes too)


Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website Photo Gallery
scetter
Nice poster
Nice poster

Offline Offline
Joined: Oct 12, 2005
Posts: 127

PostPosted: Tue Feb 19, 2008 10:47 am
Post subject: Re: Probanner not working after update

In case anyone runs into the same problem.

When ever you upgrade DF to a new version always make sure you place the edits back into the files that are overwritten.

In this past case the index.php and admin.php files needed this line put back into them.

Code::
require_once('includes/ProBanner/pbfuncs.php');

ProBanner works fine with the latest release, just need to remember that you need to edit the core files for it to work properly.

cheers

_________________
Scetter.com

scetter's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/2.2.20/5.1.61-log/5.3.8/9.3.3.1
Back to top
View user's profile Visit poster's website
Phoenix
• Many Posts •
• Many Posts •

Offline Offline
Joined: Apr 19, 2004
Posts: 8799
Location: Netizen
PostPosted: Tue Feb 19, 2008 11:12 am
Post subject: Re: Probanner not working after update

Will it work with just one addition, to the footer?


Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website Photo Gallery
scetter
Nice poster
Nice poster

Offline Offline
Joined: Oct 12, 2005
Posts: 127

PostPosted: Tue Feb 19, 2008 2:22 pm
Post subject: Re: Probanner not working after update

Phoenix wrote:
Will it work with just one addition, to the footer?

Might work, never tried it. Would it make a difference if footer.php was called after the theme.php? Or does it?

If it does ok, then one edit is better than two. Cool

_________________
Scetter.com

scetter's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/2.2.20/5.1.61-log/5.3.8/9.3.3.1
Back to top
View user's profile Visit poster's website
Phoenix
• Many Posts •
• Many Posts •

Offline Offline
Joined: Apr 19, 2004
Posts: 8799
Location: Netizen
PostPosted: Tue Feb 19, 2008 3:04 pm
Post subject: Re: Probanner not working after update

Actually, instead of playing with even 1 core file, and since you already require a theme.php edit, simply add your include near the top of function themeheader() - that way you have included the file with the function you want to call within themeheader().

Much better to avoid core Smile


Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website Photo Gallery
scetter
Nice poster
Nice poster

Offline Offline
Joined: Oct 12, 2005
Posts: 127

PostPosted: Tue Feb 19, 2008 5:05 pm
Post subject: Re: Probanner not working after update

But then it would require an edit to every theme.php file. That would be many for some sites.
Smile

_________________
Scetter.com

scetter's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/2.2.20/5.1.61-log/5.3.8/9.3.3.1
Back to top
View user's profile Visit poster's website
Eestlane
I18N / L10N Lead Dev
I18N / L10N Lead Dev

Offline Offline
Joined: Apr 06, 2005
Posts: 1404
Location: Estonia
PostPosted: Tue Feb 19, 2008 5:37 pm
Post subject: Re: Probanner not working after update

It does anyway, doesn't it?


Eestlane's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/2.0.63/5.0.67/5.2.8/9.2.1
Back to top
View user's profile Send e-mail Visit poster's website
scetter
Nice poster
Nice poster

Offline Offline
Joined: Oct 12, 2005
Posts: 127

PostPosted: Thu Feb 21, 2008 12:10 pm
Post subject: Re: Probanner not working after update

Eestlane wrote:
It does anyway, doesn't it?

Good point Big grin

_________________
Scetter.com

scetter's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/2.2.20/5.1.61-log/5.3.8/9.3.3.1
Back to top
View user's profile Visit poster's website
Eestlane
I18N / L10N Lead Dev
I18N / L10N Lead Dev

Offline Offline
Joined: Apr 06, 2005
Posts: 1404
Location: Estonia
PostPosted: Thu Feb 21, 2008 2:05 pm
Post subject: Re: Probanner not working after update

Offtopic: You know, I actually wanted to give exact same reply as you did, scetter, but then the light went on above my head aswell.


Eestlane's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/2.0.63/5.0.67/5.2.8/9.2.1
Back to top
View user's profile Send e-mail Visit poster's website
alyssa
Diamond Supporter
Diamond Supporter

Offline Offline
Joined: Nov 15, 2004
Posts: 773

PostPosted: Thu Jun 19, 2008 7:50 am
Post subject: Re: Probanner not working after update

THANK YOU. I knew I was forgetting to edit something!


alyssa's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
[ Linux / Apache 2.2.8 / MySQL 5.0.45 / PHP 5.2.6 / CPG 8.2b - 9.2.1.7]
Back to top
View user's profile
noair
Nice poster
Nice poster

Offline Offline
Joined: May 31, 2005
Posts: 90

PostPosted: Fri May 28, 2010 5:50 pm
Post subject: Re: Probanner not working after update

Anyone have the Probanner module working with DF 9.2.1. In the event you have it working can you provide me with your copy?

Thanks


noair's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
linux,apache,5.0.92,5.2.9,9.2.3.2
Back to top
View user's profile Visit poster's website
scetter
Nice poster
Nice poster

Offline Offline
Joined: Oct 12, 2005
Posts: 127

PostPosted: Fri May 28, 2010 8:02 pm
Post subject: Re: Probanner not working after update

As far as I know it should still work. If you recently did an upgrade to your DF install you will need to re-edit the files.

_________________
Scetter.com

scetter's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/2.2.20/5.1.61-log/5.3.8/9.3.3.1
Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic    Reply to topic    Printer Friendly Page    Forum Index ⇒  Add-Ons & Blocks
Page 1 of 2
All times are GMT
Go to page 1, 2  Next



Jump to:  


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


 
   Toggle Content User Info

Welcome Anonymous

Nickname
Password
(Register)

   Toggle Content Last CVS commits
· Fixed .ico Expires header.
· Removed domain name from cookies so subdomains wont access them anymore.
· CSS and JS, case insensitives.
· CSS and JS, send correct HTTP 1.1 headers and fixed issues where themes and...
· Further security class improvements.
· 301 redirects on LEO changes
· Option to force 3xx http status codes
· Validate googlebot.com and google.com crawlers.
· CCBot
· Rss with etag and atom.

Gehiago irakurri . . .

   Toggle Content Community

Support for DragonflyCMS in a other languages:

Deutsch
Español

   Toggle Content X-links
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
Interactive software released under GNU GPL, Code Credits, Privacy Policy