Jump to content

Download: IP.Board Notices System


Enkidu

Recommended Posts

  • Replies 573
  • Created
  • Last Reply

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

Link to comment

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
Link to comment

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
Link to comment

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?
Link to comment

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.
Link to comment

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?

Link to comment

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...
Link to comment

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?
Link to comment

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

Link to comment

Archived

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

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...