The following warnings occurred:
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message



GetSimple Support Forum
Sponsor Logo plugin - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: Plugins (http://get-simple.info/forums/forumdisplay.php?fid=13)
+--- Thread: Sponsor Logo plugin (/showthread.php?tid=10315)



Sponsor Logo plugin - humulus - 2018-01-08

Hi all,

I manage a website for a sports club and they wanted:
  • to show random sponsor logos on the bottom of each page
  • to show a page with all the sponsors
So I created the "Sponsor logo" plugin Big Grin .

I hope it will be useful for somebody.

Any problems/comments can be posted here.

regards,
Ruud


RE: Sponsor Logo plugin - Oleg06 - 2018-01-08

I had to write the code with my hands. Is it possible to add a button to select an image?
http://prntscr.com/hxjcnz


RE: Sponsor Logo plugin - humulus - 2018-01-08

(2018-01-08, 20:38:09)Oleg06 Wrote: I had to write the code with my hands. Is it possible to add a button to select an image?
http://prntscr.com/hxjcnz

Hi Oleg06,

The "Content" field should show the ckeditor, just like when you add a page. I reused some code of another plugin for this (see attachment).

Maybe it doesn't show because your site language is in cyrillic.

Could you check if you see it when you select english as language in your GetSimple settings?

Regards,
Ruud


RE: Sponsor Logo plugin - Oleg06 - 2018-01-09

Yes, clean install, no additional plugins editor all works with Cyrillic
http://prntscr.com/hxmtzs


RE: Sponsor Logo plugin - humulus - 2018-01-09

(2018-01-09, 01:53:13)Oleg06 Wrote: Yes, clean install, no additional plugins editor all works with Cyrillic
http://prntscr.com/hxmtzs

So with a clean install it works, but not when you add more plugins?

Oh, and if you would like to translate the plugin Angel : just copy plugins/sponsorlogo/lang/en_US.php to ru_RU.php
It's just a few strings Smile


RE: Sponsor Logo plugin - humulus - 2018-01-09

Released version 1.1

changes:
- Changed how ckeditor is called to edit the sponsor definition.


RE: Sponsor Logo plugin - Oleg06 - 2018-01-09

Yes, now everything works, thanks http://prntscr.com/hxse8l


RE: Sponsor Logo plugin - Oleg06 - 2018-01-09

The name of the sponsor in Cyrillic is not accepted.


RE: Sponsor Logo plugin - eRestin - 2018-01-29

It would be nice if some logos could be set on some period time - form date to date.


RE: Sponsor Logo plugin - humulus - 2018-01-30

(2018-01-09, 20:00:03)Oleg06 Wrote: The name of the sponsor in Cyrillic is not accepted.

Hi Oleg06,

I've based this plugin on the calendar plugin. Does this calendar plugin have the same problem with a title in Cyrillic?
(I see that you have an updated version on your russian site. Haven't found the time to see what you've changed)

regards,
Ruud


RE: Sponsor Logo plugin - humulus - 2018-01-30

(2018-01-29, 06:19:08)eRestin Wrote: It would be nice if some logos could be set on some period time - form date to date.

That is do-able, I'll work on it.


RE: Sponsor Logo plugin - 0zz - 2018-02-03

Hi, if I get it right any image or content can be displayed in any place of the website, right? So why do you call this nice plugin "Sponsor logo"? It can be used for many different types of content..


RE: Sponsor Logo plugin - humulus - 2018-02-04

(2018-02-03, 16:53:32)0zz Wrote: Hi, if I get it right any image or content can be displayed in any place of the website, right? So why do you call this nice plugin "Sponsor logo"? It can be used for many different types of content..

Maybe because I made it to show sponsor logos? Big Grin

Yes, off course you can use it for different content, but remember that it shows a random pick of your content. And I think you can break your website layout if you make the content too complicated.

But if you know a better catchy name, just let me know Smile


RE: Sponsor Logo plugin - datiswous - 2018-02-04

Some feedback:
  • Would be nice if you can just place a code in a page instead of template
  • Status text after saving should not be in red (red is for errors, look how other plugins do it)
  • I think styling should be done in themes css files by default, instead of css files in plugin folder which gets overwritten with every plugin update.
  • Logo's content should not be placed in a table (tables should not be used for layout purposes!)

There's also the random content plugin which has similar usage, but is unsupported.


RE: Sponsor Logo plugin - humulus - 2018-02-09

(2018-02-04, 11:14:47)datiswous Wrote: Some feedback:
  • Would be nice if you can just place a code in a page instead of template
  • Status text after saving should not be in red (red is for errors, look how other plugins do it)
  • I think styling should be done in themes css files by default, instead of css files in plugin folder which gets overwritten with every plugin update.
  • Logo's content should not be placed in a table (tables should not be used for layout purposes!)

There's also the random content plugin which has similar usage, but is unsupported.
Dankjewel voor de feedback.

It's my first try at PHP, so bear with me if it's a bit crude Blush

Thanks for pointing me to the random content plugin, strange that I didn't find it when I was searching.


RE: Sponsor Logo plugin - krlllo - 2018-03-08

Can't make it work out


RE: Sponsor Logo plugin - humulus - 2018-03-11

(2018-03-08, 06:43:03)krlllo Wrote: Can't make it work out

Without telling the problem I can't help


RE: Sponsor Logo plugin - Scorpio - 2018-07-24

This plugin is really great for showing random sponsor logos on a page.
I just created a German language file, you might integrate it in the official plugin-package with the next update.
It would also be great if you could make the sponsor list and sponsor page more responsive and center all the sponsor logos.