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
Unable to delete posts
Avatar
mann
Member
Free Members
sp_UserOfflineSmall Offline
Mar 6, 2012 - 8:13 am

I imported the data from my bbpress forum to simple press today and I feel great! Everything went on smoothly. There are a couple of spam posts which I am trying to get rid off, but unable to do that.

I am trying to delete posts but somehow when I click on "Edit" a post ,the "Delete" option doesn't appear.

I deleted the user from the backend but now if you see, the user(which was a spambot) appears as a guest . How do I completely delete a post ?

Here's the link to the post

http://www.aristotleprep.com/f.....united-st/

 

Also I wish to know what is this concept of "guest" user ? I mean a member only would be able to post in a forum right ?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 6, 2012 - 9:02 am

If you hover over a post or a topic (in forum view) then a small toolbox icon should appear over on the left hand side with a set of tools that includes delete.

However it probably wont work as your WP theme is incorrectly loading and calling jQuery which is causing errors on your site and stopping jQuery functions from running including, probably, the forum.

This article explains that problem:

http://codex.simple-press.com/.....-conflict/

andy-signature.png
YELLOW
SWORDFISH
Avatar
mann
Member
Free Members
sp_UserOfflineSmall Offline
Mar 7, 2012 - 8:10 am

Thanks Yellow Swordifsh. I have asked my theme developer to look into the issue. In the meantime, is there any quick way of deleting all that spam from the backend so that I can fire up my forums ?

Would searching for those posts in the database and deleting them from there be of any help ?

Avatar
mann
Member
Free Members
sp_UserOfflineSmall Offline
Mar 7, 2012 - 8:36 am

Figured out how to delete posts. Logged on to phpmyadmin and deleted all the posts. It was a very tedious process though as there were more than 50 spam posts on the forum and had to delete them one by one.Took me around 1 hour to do this but good riddance though!

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 7, 2012 - 9:42 am

I would recommend after doing a manual delete that you visit the toolbox > housekeeping and update all the indexing just to keep things right.

And if you use the admin bar SP plugin you can also delete posts from there when they first arrive as well as optionally use Akismet for spam checks.

andy-signature.png
YELLOW
SWORDFISH
Avatar
mann
Member
Free Members
sp_UserOfflineSmall Offline
Mar 26, 2012 - 3:42 am

Update:My developer said that he's unable to fix the jquery conflict issue.

Yellow swordfish, can you please help me out fix the issue because none of the plugins-like post ratings,file upload and delete post are working-and I am assuming that they are not working because of the jquery conflict.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 26, 2012 - 4:30 am

Sure. Let's start with the theme. If you would like to zip up the theme folder and email it to me I can install it and try and help resolve it.

Email it to support at simple-press dot com

andy-signature.png
YELLOW
SWORDFISH
Avatar
mann
Member
Free Members
sp_UserOfflineSmall Offline
Mar 26, 2012 - 4:45 am

Will mail you the zip file of theme in sometime. Thank you very much! You rock!

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 26, 2012 - 5:07 am

I will keep an eye out for it.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 26, 2012 - 9:27 am

Step 1:

Go to the forum admin > Integration > Page and Permalinks panel. Turn OFF the option to load Javascript in the footer and save.

Step 2:

Open the WP theme file header.php for editing. Locate this line of code on line 13:

<script type="text/javascript" src="<?php echo $template_url; ?>/assets/js/jquery.min.js"></script>

and remove it. Save the file.

Step 3:

Open the WP theme file functions.php for editing. After the credits at the top add these lines of code:

add_action('init', 'do_global_javascript');
function do_global_javascript(){
    wp_enqueue_script("jquery");
}

and save it.

Step 4:

Open the WP theme file /assets/js/theme.js for editing.

Replace every occurrence of the dollar symbol ($) with the word 'jQuery'. Not in quotes of course - and note the capital 'Q'. There should be, I believe, 12 of them. Save the file.

Step 5:

Test the site. There are other anomalies in the script handling but if they do not effect anything then they are probably best left alone. See what works and what doesn't and if any of the latter let me know what they are.

andy-signature.png
YELLOW
SWORDFISH
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: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625