Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Can't add new topic and many errors
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 13, 2017 - 9:17 pm

well, for a production site, you really shouldnt be displaying php error messages (this includes warnings and notices)..  from a site management perspective, its heavily discouraged...  you should really hide them...

those are just harmless notices and have no effect on operation...

interesting as we have not seen these before, but will make a ticket for them to get fixed up in the next release...

Avatar
Justin Erickson
Milwaukee
Member
sp_UserOfflineSmall Offline
Apr 14, 2017 - 10:07 am

How would you go about on hiding them? I want them hidden. This isn't the first time I have seen these notices/warnings. Not just for the forums, just in general. 

To me it looks unprofessional.

Milwaukee Auto Market is a very dynamic community to buy, sell or trade any automotive products.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Apr 14, 2017 - 10:19 am

Of course is is unprofessional - of your hosting company and, to be frank, of you as the website owner.

I wrote at length about this in post #7 of this thread but will repeat that here

if you are seeing these displayed on the website itself then you need to shout loudly at your hosting support as NO such messages should ever be displayed like this. They should always be channeled to a log file. No host should set up a web server with these showing up. They are also a security risk as they disclose the path of your server.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 15, 2017 - 1:40 am

and here are several ways you can disable:  http://stackoverflow.com/quest.....ng-off-php

Avatar
Justin Erickson
Milwaukee
Member
sp_UserOfflineSmall Offline
Apr 15, 2017 - 5:25 pm

Thanks for the help. I do want to point out that the new PM update I got today fixed the problem. 

After adding more groups and topics the admin dashboard for the forums was also fixed. I don't know how. It was fixed before the PM update too. 

Everything is working great except for one small issue. The select forum drop down tab, when clicked the drop down is displayed to the right and is cut off by the body. I think a simple css making it display to the left would fix this. 

I would also like you guys to provide the css so I know it's correct and true. Unless you think there a better way to fix this.

You can see the issue on this page. 

https://milwaukee-auto-market.com/forums

Thanks.

Milwaukee Auto Market is a very dynamic community to buy, sell or trade any automotive products.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 15, 2017 - 5:47 pm

wow... some long forum names... 😉

you will likely run into several issues...

first, by default, we limit forum names displayed to 40 chars.. if you want more than that, you will need to change the template function call in your sp theme...  change

                sp_QuickLinksForum('tagClass=spControl spRight', __sp('Select Forum'));

to something like

                sp_QuickLinksForum('tagClass=spControl spRight&length=50', __sp('Select Forum'));

of course, changing 50 to what you want...

also some css will affect it...

#spMainContainer #spQuickLinksTopic, #spMainContainer #spQuickLinksForum {
width: 230px;
}

again, change 230 to what you want - maybe 400...

and finally, you may also need to change (depending on the widths):

#spMainContainer #spQuickLinksTopic .dd .ddChild, #spMainContainer #spQuickLinksForum .dd .ddChild {
width: 300px;
}

there ya go...

Avatar
Justin Erickson
Milwaukee
Member
sp_UserOfflineSmall Offline
Apr 15, 2017 - 9:46 pm

Thanks.

Its wasnt in the template functions but in the header. My template functions are barely a page long. 

For some reason the group title is shorten but the forum title is not. The forum title is longer.

Not a big deal. It looks 10x better. I'm not worried about it. 

Again thanks for all the help guys. It is appreciated. 

Milwaukee Auto Market is a very dynamic community to buy, sell or trade any automotive products.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 16, 2017 - 12:47 am

good news!  glad to help...

Avatar
Justin Erickson
Milwaukee
Member
sp_UserOfflineSmall Offline
Apr 17, 2017 - 7:07 pm

Hey guys,

I ran into the bootstrap javascript errors again with another plugin. I need both and been trying to find away to have both work.

I did contact the developer for the other plugin but response is slow. 

In not sure how to fix this problem. The bootstrap javascript libraries is interfering with my forums plugin. 
 
I tried to have the scripts be individual ( load separate ) and that caused more problems.
 
I excluded both plugins from beng cached with cookies, css, and js, did not fix the problem. 
 
I tried a few plugins to fix the problem and none of them worked. The only why I can resolve this issue is by disabling the bootstrap javascript libraries. 
 
bootstrap.min.js?ver=3.3.5:6 Uncaught Error: `selector` option must be specified when initializing tooltip on the window.document object!
 at c.init (bootstrap.min.js?ver=3.3.5:6)
 at new c (bootstrap.min.js?ver=3.3.5:6)
 at HTMLDocument. (bootstrap.min.js?ver=3.3.5:6)
 at Function.each (jquery.js?ver=1.12.4:2)
 at a.fn.init.each (jquery.js?ver=1.12.4:2)
 at a.fn.init.b [as tooltip] (bootstrap.min.js?ver=3.3.5:6)
 at HTMLDocument.eval (eval at  (sp-forum-footer.js?ver=4.7.3:1), :1:124)
 at i (jquery.js?ver=1.12.4:2)
 at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4:2)
 at Function.ready (jquery.js?ver=1.12.4:2)

I just wanted to see if you guys had some ideas on a fix for this. 

You can see these errors yourself in the web console on the forums page.
https://milwaukee-auto-market.com/forums

Thanks
​
 
 
 
 
 
 
 
 

Milwaukee Auto Market is a very dynamic community to buy, sell or trade any automotive products.

Avatar
Justin Erickson
Milwaukee
Member
sp_UserOfflineSmall Offline
Apr 17, 2017 - 8:12 pm

Update,

I figured it out. Instead of using the plugins bootstrap I uploaded a better version and disabled the plugins.

I used Twitter Bootstrap CSS v3.3.7

I replaced JQuery library with JQuery from CDNJS

Used Minified CSS/JS libraries

And used Twitter Bootstrap Shortcodes

It worked perfect. Just incase someone else runs into this problem.

Milwaukee Auto Market is a very dynamic community to buy, sell or trade any automotive products.

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 617
Members: 17359
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10125
Posts: 79620