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
A couple of "bugs"
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Dec 20, 2011 - 3:36 pm

so the theme is in essence saying, screw wp, dont load their js... load my choice instead... same for jquery ui... poor design... and loading very, very old versions of both...

simple press is designed to work with the jquery and jquery ui that ship with wp...

just delete the deregister and register for both and see what happens... possible if the theme is very old and not updated recently to stay compatible with wp, you might have some issues, but give it a try...

Avatar
edinchez
Member
Free Members
sp_UserOfflineSmall Offline
Dec 20, 2011 - 4:44 pm

Okay, so, by removing those lines the forum features started working flawlessly. But my theme's slider stopped working, sadly. Is there any way I can fix this?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Dec 20, 2011 - 5:04 pm

well, as I said your theme may be woefully out of date and not supported or kept up to date...  that is a very old version of jquery and much has changed on how things work...

So, I guess I would alter your theme like this... instead of deleting those lines, try changing that whole loading section to:

if (!sp_is_forumpage()) {
    wp_deregister_script('jquery');
    wp_register_script('jquery', ("http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"), false, '1.4.2');    
    wp_deregister_script('jquery-ui');
    wp_register_script('jquery-ui', ("http://ajax.googleapis.com/ajax/libs/jqueryui/1.5.3/jquery-ui.min.js"), false, '1.4.2');
}

wp_enqueue_script('jquery');
wp_enqueue_script('jquery-ui');  

That way, on the forum page it will use the wp jquery and jquery ui but on other pages it will use the out dated theme version of those...

Avatar
edinchez
Member
Free Members
sp_UserOfflineSmall Offline
Dec 21, 2011 - 2:11 am

Oh my god you saved my life! You're the most supporting community I have ever seen. Thank you thank you thank you!

Edit: Don't know if you read this, but I also wrote it in my other post in the first page:

I can't for the love of god fix the widget. I tried removing <br /> from afterTopic, nothing changed. Then just to test I tried removing "Topic:" from both sp-RecentPosts-tag.php and sp-RecentPosts-widget.php everywhere and it never changed. What other file can control that behavior?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Dec 21, 2011 - 9:36 am

what do you mean tried removing??? you are editing the core file???

thought you were using the widget? or is it the tag?

you adjust them with the arguments, not core file edits... can you post a screenshot of your widget options or if using the tag, post the function call with your arguments?

no caching or widget caching plugins?

Avatar
edinchez
Member
Free Members
sp_UserOfflineSmall Offline
Dec 21, 2011 - 2:10 pm

Oh man, I feel so dumb right now. I was editing the core files, while I forgot that I could do the same from the widget options, haha. So, the ONLY problem I have left is that the avatar won't show in the same line as the topic name and date. I know I can fix that with some CSS, but I have no idea how to do it since I'm not experienced with CSS at all. I'm so sorry for annoying you this much, but I kinda want everything to be perfect in the site. Here's a screenshot of what I'm talking about:

Image Enlarger

Edit: I just noticed another bug. When a user clicks on the smiley images, the smileys work fine. But when someone enters the code for a smiley, it instead shows a broken html code trying to display the "confused" smiley. Screen:

Image Enlarger

When taking this screen, I also noticed that it shows that I have 9 forum posts, while there's only one post in the whole forum. Probably doesn't remove the deleted post from the count. But it's no biggie, you guys will probably take care of it whenever you can.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Dec 21, 2011 - 2:46 pm

on the avatar img class, try a display:inline

 or give me a link to example...

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Dec 21, 2011 - 3:30 pm

deleted posts are NOT removed from the count by design...  a post made is a post counted...  if  you want to change that core behavior, you will have to hook into the deletion process and remove the count with a plugin or function...

I cannot duplicate your smiley behaviour either...  you might have some other plugin or theme function or js at work...  I exclusively use the shortcuts for smileys here... cool  also, you cannot drag and drop... 

a link to smiley example might yield some info...  what editor do you use?

Avatar
edinchez
Member
Free Members
sp_UserOfflineSmall Offline
Dec 21, 2011 - 5:09 pm

Ah! I had all three editors (HTML, BBcode and TinyMCE) activated. Your question about the editors gave me an idea, and I simply deactivated the HTML editor and now it's working perfectly.

About the widget.. I have no idea which css style it's using, since I couldn't find spListItemTag anywhere except sp-RecentPosts-tag.php. I PM'd you the information about the site, if you could take a look it would be great.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Dec 21, 2011 - 5:13 pm

you can have all three activated... the question was which were you using? ie had selected in your sp profile...

you wont find that css... you have to add it to your wp or sp theme to match the manner you want... no real way for us to match every sidebar by default...

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: 619
Members: 17362
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625