Hey, welcome to ZBCode, the premier coding forum for ZB. Here you fill find some of the best Invisionfree and Zetaboards Codes on the network! Unfortunately, you're sorta hovering around in guest mode at the moment; why not join in on the fun? Register an account and you can start accessing the wealth of resources we have available here. Enjoy your stay at ZBCode, and remember to tell all your friends about us; the more members, the more codes available. ![]() Interested in joining? Click here. If you are already a member of ZBCode, feel free to login right here: |
| [Completed] [ZB] Appeal Offense Form | |
|---|---|
| Tweet Topic Started: Sep 9 2009, 08:30 PM (1,497 Views) | |
| Firestrife2 | Sep 16 2009, 03:00 PM Post #31 |
![]()
|
I found a few small errors that I made, but this should work fine. By the way, only edit the "If(location.href.match" if your page is named something other than appeal. In that case, replace Both of them like this: if(location.href.match(/pages\/\PAGENAME/i)){ You should know where to edit everything else. I'm putting some [ b ] tags in the actual message, just because I think it looks better. Has the same effect you would want + better design xD.
If you notice after "function(r){" I added "$("#appealoffense").html("<tr><td>Appeal sent. Please wait at least 24 hours for an administrator to take any action/response toward the appeal.</td></tr>");" instead of an alert. It is a lot smoother and I like it a lot better xD. If not you can just replace that with "alert("Appeal Sent."); otherwise this is the template you should use:
Enjoy. Did ya lose me? I feel like you might have...If you're confused tell me what to put where and I'll do it :3. |
![]()
| |
![]() |
|
| Desire Law | Sep 16 2009, 04:46 PM Post #32 |
![]()
|
It still doesn't seem to function properly, but it likely was an error on my part. I'll test it out later when I'm not so busy. ;) |
![]() |
|
| stargazer | Sep 17 2009, 09:37 AM Post #33 |
![]()
|
Thank you, I will test this. Gregor, have you had any luck on sending the appeal to a staff access only forum? |
![]() |
|
| RedBldSandman | Sep 17 2009, 11:01 AM Post #34 |
![]()
ZIPPY!
![]()
|
I made one just for funsies:Just change the RECIPIENT NAME to the exact username of the admin/whoever you want to sent the PM to. All of it goes on the webpage (nothing in the board template). I used the HTML given since I couldn't be bothered to make a new form myself ![]() Also, if you want to send parts to a topic or whatever, just say what you want and I can code it for you
Edited by RedBldSandman, Sep 17 2009, 11:03 AM.
|
![]() "To iterate is human, to recurse divine." | |
![]() |
|
| Desire Law | Sep 17 2009, 07:40 PM Post #35 |
![]()
|
Thanks, RedBldSandman!
|
![]() |
|
| stargazer | Sep 21 2009, 02:56 AM Post #36 |
![]()
|
Have anyone had any luck of having the appeal go to a staff forum as a new topic yet? |
![]() |
|
| Reid | Sep 21 2009, 08:32 AM Post #37 |
![]()
What? The land of the free? Whoever told you that was your enemy.
![]()
|
![]() I made one that does this. I also stoles some code from this topic, but eh... who cares? ![]() Mmm, what a lovely script. The only line you need to change is the line that says "forum_number =" - put the number of the staff forum there. There is one other thing you need to change. You need to give 'Start' permissions to the group that can use this form in your staff forum... for example, I gave my members group permission to start topics in the staff forum on my test board. So, I guess give your 'Banned' group permission to start topics there. They could end up spamming the forum, keep in mind... but ah well. If they do that, the delete tool is a powerful thing.
|
| The Resource Board | |
![]() |
|
| RedBldSandman | Sep 21 2009, 12:23 PM Post #38 |
![]()
ZIPPY!
![]()
|
Nice Reid You may want to sort out the part which stops Guests using the form though since Guests won't have an <a> tag so usr_s.text() will equal "" instead of "Guest" ![]() Also, I was just wondering, but what does do? Does it act like or does it do something else? |
![]() "To iterate is human, to recurse divine." | |
![]() |
|
| Reid | Sep 21 2009, 12:42 PM Post #39 |
![]()
What? The land of the free? Whoever told you that was your enemy.
![]()
|
True... I didn't think of that. Simply change the 'Guest' part in the beginning of the code to And that should work perfectly. And yes, the returnValue is used for internet explorer. You can thank Viral for that though, he discovered it.
|
| The Resource Board | |
![]() |
|
| RedBldSandman | Sep 21 2009, 03:47 PM Post #40 |
![]()
ZIPPY!
![]()
|
Awesome, time to update some of my old codes with that then
|
![]() "To iterate is human, to recurse divine." | |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| Go to Next Page | |
| « Previous Topic · Completed Requests · Next Topic » |























2:27 PM Jul 11