SocialAcademy • Forum

Social Academy Community Support Forum & Free Tutorial's & Skins



SocialAcademy • Forum » Support Section » Ask Question 's & Problems » Solved & Trash Files  →   Delete Post Same Page Problem - Page 2

Delete Post Same Page Problem


    Go to page : Previous  1, 2, 3  Next

  • Please log in to Reply

View previous topic View next topic Go down  Message [Page 2 of 3]

#11

OfflineGrafix

Grafix
 
Management Team
 Management Team

Posted Fri May 30, 2014 8:00 am

 
just give it a try , try to disable the Quick Deletion Tutorial .. then screenshot ..if the problem is still there

https://socialacademy.forumotion.com
#12

OfflineJ0k3R^

J0k3R^
 
Advance Member
Advance Member

Posted Fri May 30, 2014 8:03 am

 
its not there..
the deletion is doing normally

is it possible to add a code to this js to remove the ".pun .posthead" from the post too?

http://fmplanet.forumgreek.com
#13

OfflineJordan Lee

Jordan Lee
 
Forum Helper
Forum Helper

Posted Fri May 30, 2014 2:55 pm

 
Hello J0k3R^

You've continued your behaviour of: Bumping Topics. You've got 3 warning already + 1 more = Muted.

This is rule breaking content we've advised you to re-read the rules but you've skein no notice. Also wee found your continuing this behaviour as a result we are muting you for continuing bumping topics.

Your Mute will take place at 30/05/14 15:00 PM — 02/06/14 14:00 PM

Thanks,

Tommy

#14

OfflineNiko

Niko
 
Member
Member

Posted Fri May 30, 2014 5:44 pm

 
you have that issue because the code the code has two actions:
1. remove the post from the database
2. remove the post from the page (actually if you reload the page even that bar disappear)

you should edit templates and add another div around the "bar" and the "post" and editing the code to remove this "upper level" will make both disappear

#15

OfflineJ0k3R^

J0k3R^
 
Advance Member
Advance Member

Posted Fri May 30, 2014 6:06 pm

 
thanks for ur reply but i didnt understand what i have to do :D
could u explain better what should i edit/chage please?

http://fmplanet.forumgreek.com
#16

OfflineNiko

Niko
 
Member
Member

Posted Fri May 30, 2014 6:14 pm

 
too hard to explain..

please provide me the content of view_topicbody

#17

OfflineJ0k3R^

J0k3R^
 
Advance Member
Advance Member

Posted Fri May 30, 2014 6:50 pm

 
sent it via PM. plz dont post it in public :)

http://fmplanet.forumgreek.com
#18

OfflineNiko

Niko
 
Member
Member

Posted Fri May 30, 2014 7:07 pm

 
find this part:
Code:
<!-- BEIGN displayed -->

and add after it:
Code:
<div id="content-post">

then find this part:
Code:
<!-- END displayed -->

and add before it this:
Code:
</div>

this way, the javascript code will be:
Code:
$(function () {
  $(".post a[href*='mode=delete'][href*='p='][href*='tid=']").click(function (a) {
      a.preventDefault();
      var b = $(this).closest("##");
      !0 == confirm("Are you sure you want to delete ?") && $.post(this.href, {
        confirm: 1
      }, function (a) {
        b.slideUp(function () {
            b.remove();
            $("#content-post").length || location.replace($(".nav[href^='/f']:last")[0].href)
        })
      })
  });
});

I'm busy now.. if that doesn't work I will check it better

#19

OfflineDustin

Dustin
 
Forum Helper
Forum Helper

Posted Sat May 31, 2014 8:55 am

 
Not sure why this was archived.
No solution or authors approval was posted.

left Moved back to Q&A.

#20

OfflineJordan Lee

Jordan Lee
 
Forum Helper
Forum Helper

Posted Sat May 31, 2014 9:18 am

 
Dustin wrote:[link="/t190-delete-post-same-page-problem#1649"]Not sure why this was archived.
No solution or authors approval was posted.

left Moved back to Q&A.
Hello Dustin,

Please post this in the staff room I'll tell you!

Thanks,
Tommy

#21

OfflineSponsored content


 

Posted

 

Message (Page 2 of 3)


    Go to page : Previous  1, 2, 3  Next


Share Topics Url

Url
BBcode
HTML

Permissions in this forum:
You cannot reply to topics in this forum

 
  • Free forum | ©phpBB | Free forum support | Report an abuse | Forumotion.com


Social Academy Forum
© Social Academy 2013-2022