Jump to content

Download: IP.Board Notices System

Featured Replies


sorry to hear that. Can you re-cache your skins please (and add at least one notice?)



thanks :smile:




It did not work, sorry:(
  • Replies 573
  • Views 23.2k
  • Created
  • Last Reply
  • Author

It did not work, sorry:(




strange (would you like to PM me your board details so I can have a look?, thanks)

sorry for the inconvenience :smile:

another Feature Request,



Ability to move 'Notices' around (up/down) , ACP end.



I second that Please

Great Mod really

Notice 5, 6, and 7 and above are showing blank, can we only use 4 at a time ?

  • Author

Notice 5, 6, and 7 and above are showing blank, can we only use 4 at a time ?




to fix, goto acp -> skins -> your skin -> expand: skin_notices ,open: enkiduNoticesTemplate, and find:


.viewport ul{width:6000px}[/CODE]

[/color][/color] change to: [color="#666600"][color="#666600"]

[CODE].viewport ul{width:60000px}



fixed in 1.0.1


When I install and enable this plugin, I get "Fatal error: Call to a member function enkiduNoticesTemplate() on a non-object in (insert random hookfile) on line 58"



Any idea what I can do to fix it? Thanks :smile:




Hi Enkidu,

I seem to have the same issue as this gentleman.

Error message: Fatal error: Call to a member function enkiduNoticesTemplate() on a non-object in /home/proevoel/public_html/hooks/enkiduNotices_9f2b8dd30abc37d945fa187c6472bb52.php on line 58

I've recached everything but the problem is still there.

Thanks

WelshLad

Line 58: return $this->registry->output->getTemplate('notices')->enkiduNoticesTemplate($NoticeArray);

  • Author

PM me your ACP details please :)

Could we have Start/Stop dates for items

Thanks,
Larry

  • Author

Could we have Start/Stop dates for items



Thanks,


Larry




working on it

Hi Enkidu,



I seem to have the same issue as this gentleman.



Error message: Fatal error: Call to a member function enkiduNoticesTemplate() on a non-object in /home/proevoel/public_html/hooks/enkiduNotices_9f2b8dd30abc37d945fa187c6472bb52.php on line 58



I've recached everything but the problem is still there.



Thanks



WelshLad



One more with this problem...

PM me your ACP details please :smile:



Working on my test board at localhost. Any other solution?

Thanks
  • Author

One more with this problem...



Working on my test board at localhost. Any other solution?



Thanks




I need to track down the reason for this. You are case number three. Can you tell me more about your local environment? like what OS and what webserver please?

A linux machine with Apache(2.2.19), PHP (5.2.17) and MySql(5.0.92).

IPB 3.2.3 (with IPC, IP.SEO and Gallery). Other app: Classifieds

  • Author

A linux machine with Apache(2.2.19), PHP (5.2.17) and MySql(5.0.92).



IPB 3.2.3 (with IPC, IP.SEO and Gallery). Other app: Classifieds




is there any php errors while installing the mod?

you can simply view the page source and scrape the code :wink:




<p><img src="/public/images/cuteGirl.png" style="float:left; padding:0px 20px 2px 2px" /></p>

<div style="padding:10px 0px 2px 2px"><span style="font-size:18px;"><strong>Did you think we can't slide images with our app? Think again!</strong></span></div>

<div style="padding:10px 0px 2px 2px"><br />

You can even use this mod to create your own imageshow,rotating banners, and&amp;nbsp;advertisement.</div>




I just bought this and I am trying to get this to work but can't. I copied your code but it only shows up as html on the board index. Can you help me out? It's also dropping the <p><img on the front of the code and the </p> on the back. I'm not good with html so I don't know if that's important or not.
  • Author

yes on the backend notices view, it strips the html tags and that's OK because we want the list to look nice. but on the the front side it should parse correctly. Not parsing indicates an issue with (surprise surprise) CKEditor so let me ask, which version of IPB are you running?


yes on the backend notices view, it strips the html tags and that's OK because we want the list to look nice. but on the the front side it should parse correctly. Not parsing indicates an issue with (surprise surprise) CKEditor so let me ask, which version of IPB are you running?




3.2.3 and thank you...
  • Author

would you like to PM me your board details, please? I need to say it first hand

thanks


would you like to PM me your board details, please? I need to say it first hand



thanks




sent :)

Great mod and thanks! Maybe I missed it, but how do you set the order? I s there a way to rank the notices?

  • Author

Great mod and thanks! Maybe I missed it, but how do you set the order? I s there a way to rank the notices?




already implemented that for the next version :)

already implemented that for the next version :smile:




okay, I'm having another issue. When I use html tags and I click "done" then go back for edits, I can't get the tags back, it's already converted and I have to start over. Is this the program, or somethign on my end?
  • Author

I guess this is how CKEditor works. i can find a way around it but then there would some more overhead for processing the message body of the notice before showing up to the user.


okay, I'm having another issue. When I use html tags and I click "done" then go back for edits, I can't get the tags back, it's already converted and I have to start over. Is this the program, or somethign on my end?




I am NOT a fan of this Ckeditor. It only creates more work.
  • Author

I am NOT a fan of this Ckeditor. It only creates more work.




here is a quick fix

open adminapplications_addonothernoticesmodules_adminconfigurationsnotices.php, search and find:


IPSText::getTextClass('bbcode')->bypass_badwords = 1;

    IPSText::getTextClass('bbcode')->parse_smilies  = 1;

    IPSText::getTextClass('bbcode')->parse_html   = 1;

    IPSText::getTextClass('bbcode')->parse_bbcode  = 1;

    IPSText::getTextClass('bbcode')->parse_nl2br	    = $NoticeCriteria[6];

    $form['MessageBody'] = IPSText::getTextClass('bbcode')->preDisplayParse( $Result['MessageBody'] );

change to


IPSText::getTextClass('bbcode')->bypass_badwords = 1;

    IPSText::getTextClass('bbcode')->parse_smilies  = 1;

    IPSText::getTextClass('bbcode')->parse_html   = 0;

    IPSText::getTextClass('bbcode')->parse_bbcode  = 1;

    IPSText::getTextClass('bbcode')->parse_nl2br	    = $NoticeCriteria[6];

    $form['MessageBody'] = IPSText::getTextClass('bbcode')->preDisplayParse( $Result['MessageBody'] );



if you don't feel comfortable editing php files, you can PM me your website ftp details and I'll be happy to do it for you

cheers

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.