#35710
01/05/2000 12:58 AM
|
Joined: Jun 2000
Posts: 263
Junior Member
|
Junior Member
Joined: Jun 2000
Posts: 263 |
This hack just ads a "delete message icon", that takes a user to a "delete message" screen next to edit icon. I know you can delete messages by going to "Edit message", but why not have a separate link, that will say "Delete message"? Ok. Here it goes: I don't know if this has been done yet, but anyway. If you want to add a "Delte" icon next to "Edit" icon, here's the code to include: in ubb_library2.pl find: right after that add: Then in ubb_library2.pl find and replace it with No spaces between | |. Ubb adds them, for some reason [This message has been edited by UBBMaster (edited January 06, 2000).]
|
|
|
#35711
01/05/2000 1:00 AM
|
Joined: Jun 2000
Posts: 263
Junior Member
|
Junior Member
Joined: Jun 2000
Posts: 263 |
Yeah, we should definately have a choice of disabling HTML in message!! ![[Linked Image]](http://www.interserver.net/~ubb/ubb/wink.gif)
|
|
|
#35712
01/05/2000 10:09 AM
|
Joined: Mar 2001
Posts: 37
Junior Member
|
Junior Member
Joined: Mar 2001
Posts: 37 |
I can't seem to get this to work ![[Linked Image]](http://www.interserver.net/~ubb/ubb/frown.gif) has anyone gotten this to work?
|
|
|
#35713
01/05/2000 12:18 PM
|
Joined: Jun 2000
Posts: 263
Junior Member
|
Junior Member
Joined: Jun 2000
Posts: 263 |
My bad. This code should be added: [This message has been edited by ilya (edited January 05, 2000).]
|
|
|
#35714
01/05/2000 12:56 PM
|
Joined: Mar 2001
Posts: 69
Junior Member
|
Junior Member
Joined: Mar 2001
Posts: 69 |
Nice little old hack ![[Linked Image]](http://www.interserver.net/~ubb/ubb/smile.gif) what about a button for fast disabling smilies ![[Linked Image]](http://www.interserver.net/~ubb/ubb/wink.gif) ------------------ Cougar's here, so have no fear Webmaster of www.artbeast.de
|
|
|
#35715
01/05/2000 1:45 PM
|
Joined: Mar 2001
Posts: 37
Junior Member
|
Junior Member
Joined: Mar 2001
Posts: 37 |
would any of you happen to have an icon for this? ![[Linked Image]](http://www.interserver.net/~ubb/ubb/smile.gif)
|
|
|
#35716
01/05/2000 1:56 PM
|
Joined: Jan 2000
Posts: 48
Member
|
Member
Joined: Jan 2000
Posts: 48 |
How about this? An icon for fast deleting smilies? Put a smilie going into the above. [This message has been edited by Code Warrior (edited January 05, 2000).]
|
|
|
#35717
01/05/2000 2:27 PM
|
Joined: Mar 2001
Posts: 37
Junior Member
|
Junior Member
Joined: Mar 2001
Posts: 37 |
hehe ![[Linked Image]](http://www.interserver.net/~ubb/ubb/smile.gif) good enough for me...thanx.
|
|
|
#35718
01/05/2000 5:42 PM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
What version was this made on?
BTW --> for the no html in message, couldn't you just make the UBB run a subroutine if a check box is checked, and have it replace < and > with the proper code, you know, lie & nbsp;(without the space, this one addes a non-breaking space, there is a one to make a <)
[This message has been edited by atom911 (edited January 05, 2000).]
|
|
|
#35719
01/05/2000 7:45 PM
|
Joined: Jun 2000
Posts: 263
Junior Member
|
Junior Member
Joined: Jun 2000
Posts: 263 |
It was tested on 5.41 This is what i'm going to do. I'll start today or tomorrow.
|
|
|
#35720
01/05/2000 7:53 PM
|
Joined: Jun 2000
Posts: 263
Junior Member
|
Junior Member
Joined: Jun 2000
Posts: 263 |
Glad you like it ![[Linked Image]](https://ubbdev.com/ubb/smile.gif) My first UBB hack ![[Linked Image]](https://ubbdev.com/ubb/tongue.gif) [This message has been edited by ilya (edited January 05, 2000).]
|
|
|
#35721
01/06/2000 11:40 AM
|
Joined: Mar 2001
Posts: 69
Junior Member
|
Junior Member
Joined: Mar 2001
Posts: 69 |
ilya: np ![[Linked Image]](https://ubbdev.com/ubb/smile.gif) A neat, clean little hack. I should try to hack some more, to improve my perl knowledge, but I can never think of something to hack.... ![[Linked Image]](https://ubbdev.com/ubb/frown.gif) ah well ------------------ Cougar's here, so have no fear Webmaster of www.artbeast.de
|
|
|
#35722
01/06/2000 7:36 PM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
Sorry I messed up your post because I was testing out the delete hack function. Looks like it has some more bugs to work out ![[Linked Image]](https://ubbdev.com/ubb/frown.gif) ------------------ President and Webmaster of UBB Hackers Hideout. ICQ: 33326211 AIM:SpazJCC Email: ubbmaster@ubbcodehacking.com
|
|
|
#35723
01/06/2000 8:42 PM
|
Joined: Jun 2000
Posts: 263
Junior Member
|
Junior Member
Joined: Jun 2000
Posts: 263 |
|
|
|
#35724
01/06/2000 9:25 PM
|
Joined: Jun 2000
Posts: 263
Junior Member
|
Junior Member
Joined: Jun 2000
Posts: 263 |
just found one more "Delete post" icon at solutionscripts.com/forum 
|
|
|
#35725
01/06/2000 11:34 PM
|
Joined: Mar 2001
Posts: 37
Junior Member
|
Junior Member
Joined: Mar 2001
Posts: 37 |
i dunno if we are allowed to use that icon ![[Linked Image]](https://ubbdev.com/ubb/frown.gif) are we? ------------------ E-Mail: [email protected]ICQ: 19608225 AIM: Mazmanr
|
|
|
#35726
01/07/2000 9:46 AM
|
Joined: Mar 2001
Posts: 69
Junior Member
|
Junior Member
Joined: Mar 2001
Posts: 69 |
As long as it's freeware, you can use it. I think this one is freeware, cause I see it alll over the web. ------------------ Cougar's here, so have no fear Webmaster of www.artbeast.de
|
|
|
#35727
01/07/2000 11:51 AM
|
Joined: Jun 2000
Posts: 263
Junior Member
|
Junior Member
Joined: Jun 2000
Posts: 263 |
I've seene this icon all over the net; solutionscripts.com was the first one I could think of that time.
|
|
|
#35728
02/02/2000 5:56 AM
|
Joined: Jan 2000
Posts: 26
Member
|
Member
Joined: Jan 2000
Posts: 26 |
Ilya, did you get a final version of this hack working properly yet (you said there were problems)? Also could you please repost the install instructions of where and what to add the code, like you did in your original post, there are a bunch of broken img tags in it and I'm not exactly sure of what is needed and what isn't. Thanks ![[Linked Image]](http://209.239.50.193/ubb/smile.gif)
|
|
|
#35729
02/02/2000 4:15 PM
|
Joined: Feb 2000
Posts: 4
Junior Member
|
Junior Member
Joined: Feb 2000
Posts: 4 |
The hack works great, but I was thinking it may be more useful if instead of deleting the thread, it just deleted your post.
|
|
|
#35730
02/02/2000 5:10 PM
|
Joined: Jan 2000
Posts: 94
Member
|
Member
Joined: Jan 2000
Posts: 94 |
Can we get this hack written up in a text file so we do not have to see all the broken image links in this thread and wonder what code was supposed to be there.
It would really help
Thank you.
------------------ When you sin, you don't fall FROM God's grace, you fall INTO it!!
When you sin, you don't fall FROM God's grace, you fall INTO it.
Bring In The Geek Consulting Services
|
|
|
#35731
02/03/2000 10:37 AM
|
Joined: Mar 2001
Posts: 37
Junior Member
|
Junior Member
Joined: Mar 2001
Posts: 37 |
just click the edit button, and you can see the code ![[Linked Image]](http://ubbcodehacking.com/ubb/biggrin.gif) ------------------ Moderator Of The "CHIT CHAT" ForumE-Mail: [email protected]ICQ: 19608225 AIM: Mazmanr
|
|
|
#35732
02/03/2000 2:18 PM
|
Joined: Jan 2000
Posts: 94
Member
|
Member
Joined: Jan 2000
Posts: 94 |
mazmanr, what edit button are you refrring to? Do you mean that I should look at the code for this page?
That is a little to much hassle for a hack. After all, I would have to seperate that particular post from the rest of them on this page. Way too much hassle.
It would be much cooler to simply make a txt file like many of the other hacks on this system.
------------------ When you sin, you don't fall FROM God's grace, you fall INTO it!!
When you sin, you don't fall FROM God's grace, you fall INTO it.
Bring In The Geek Consulting Services
|
|
|
#35734
02/03/2000 2:52 PM
|
Joined: Jan 2000
Posts: 94
Member
|
Member
Joined: Jan 2000
Posts: 94 |
mazmanr, thank you thank you thank you.
Sometimes us programming challenged people need special consideration.
------------------ When you sin, you don't fall FROM God's grace, you fall INTO it!!
When you sin, you don't fall FROM God's grace, you fall INTO it.
Bring In The Geek Consulting Services
|
|
|
#35735
02/04/2000 3:14 PM
|
Joined: Feb 2000
Posts: 4
Junior Member
|
Junior Member
Joined: Feb 2000
Posts: 4 |
Well, I tried to modify this hack to delete single posts, instead of the whole thread, but ran into a small problem (basically my complete lack of knowledge of perl). First, you need to go through authorization. Currently, the delete post is authorized in the EditPost routine, and the delete thread routine is in DeletePost. (Please correct me if I'm wrong on anything here.) So I tried to copy the DeletePost routine and change the value for ReplyNum to a variable. Unfortunatly, I have no clue how to set it so when you enter that routine it'll take the correct number. Can anyone help me out on this?
|
|
|
#35736
03/01/2000 9:46 PM
|
Joined: Jan 2000
Posts: 18
Member
|
Member
Joined: Jan 2000
Posts: 18 |
This works .. only it deletes the entire topic .. I thought it was to delete just a specific post .. any way of it being able to just delete a specific post? Thanks! ~Kat ![[Linked Image]](http://ubbcodehacking.com/ubb/smilies/smile.gif) ------------------ Donna Cazic-Thule Corner
|
|
|
#35737
03/01/2000 10:22 PM
|
Joined: Jun 2000
Posts: 263
Junior Member
|
Junior Member
Joined: Jun 2000
Posts: 263 |
I didn't know it had that problem.. I'll try to fix it!
|
|
|
#35738
03/20/2000 5:34 AM
|
Joined: Mar 2000
Posts: 4
Junior Member
|
Junior Member
Joined: Mar 2000
Posts: 4 |
Ilya, did you figure it out? I'd like to have the Delete post instead of delete topic *g*. I tryed myself but since im a newbie in creating hacks i..., i... ok ok i failed!
I would be pleased if you could overlook for the fix/new hack!
thx
BeastMaster
<FONT COLOR="silver">WfG BeastMaster<FONT size="1">
How should I know what I'm thinking, if I haven't heard what I'm saying?</FONT s></FONT c>
|
|
|
#35739
03/20/2000 6:47 AM
|
Joined: Feb 1999
Posts: 1,379
Programmer
|
Programmer
Joined: Feb 1999
Posts: 1,379 |
This feature is already built into the UBB. It's old news. Just a thought ![[Linked Image]](http://ubbcodehacking.com/ubb/smilies/smile.gif)
|
|
|
#35740
03/20/2000 1:47 PM
|
Joined: Mar 2000
Posts: 4
Junior Member
|
Junior Member
Joined: Mar 2000
Posts: 4 |
I know that I can delete in edit mode but i want a direct delete icon. Sure its already there but i would be pleased to get an delete icon *g*
<FONT COLOR="silver">WfG BeastMaster<FONT size="1">
How should I know what I'm thinking, if I haven't heard what I'm saying?</FONT s></FONT c>
|
|
|
#35741
03/20/2000 2:58 PM
|
Joined: Feb 1999
Posts: 1,379
Programmer
|
Programmer
Joined: Feb 1999
Posts: 1,379 |
I can't see this being usful since you'd still have to go to a page where you enter your username and password, but hey, I'm not always right. If someone writes (or has already written) this, then here's an icon to use:  Just a thought ![[Linked Image]](http://ubbcodehacking.com/ubb/smilies/smile.gif)
|
|
|
#35742
03/20/2000 3:39 PM
|
Joined: Jun 2000
Posts: 263
Junior Member
|
Junior Member
Joined: Jun 2000
Posts: 263 |
I still haven't been able to figure out the problem, sorry. Cal: it just makes the board look better ![[Linked Image]](http://ubbcodehacking.com/ubb/smilies/smile.gif) ------------------ Thanks for reading! Ilya Administrator of Ubb Code Hackers Hideout Moderator of UBB Hacks Finished
|
|
|
#35743
04/13/2000 3:31 AM
|
Joined: Oct 2000
Posts: 2
Junior Member
|
Junior Member
Joined: Oct 2000
Posts: 2 |
Hi All Master of Hach, First i would say thanks to all of you, make/build the hach for UBB. Now i have a problem, when i try install this DELETEPost hach in my UBB, i got problem is, they not delete 1 post (thread), they delete whole Topic. Can anyone tell me why?. I check out the code for admin (Delete Topic) i saw they did not have the $thisline[1] that code only in edit link, but i don't know why. they do that.
PS: This problem have same when i ENABLE/DISABLE User can edit cannot delete. Please help me this hach. Also i looking for the AIM hach, can anyone give me location where i can get its.
Thank you very much.
------------------ Thank You
Thanks in Advance
|
|
|
#35744
04/13/2000 10:54 AM
|
Joined: Jun 2000
Posts: 263
Junior Member
|
Junior Member
Joined: Jun 2000
Posts: 263 |
This is a bug in the hack. I haven't had time to fix it yet
|
|
|
#35745
04/27/2000 8:41 AM
|
Joined: Jan 2000
Posts: 170
Member
|
Member
Joined: Jan 2000
Posts: 170 |
Here's a fix i found somewhere in my bookmarks. Note: I take no credits for this fix! after: add: The rest of the hack is correct.
|
|
|
#35746
02/19/2001 9:27 AM
|
Joined: Feb 2001
Posts: 3
Junior Member
|
Junior Member
Joined: Feb 2001
Posts: 3 |
Hmm, this hack seems to delete the entire topic.. Isn't tehere a way to make it delete just the jingle post? :?
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 417
Joined: November 2001
|
|
Forums63
Topics37,575
Posts293,930
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|