Previous Thread
Next Thread
Print Thread
Rate Thread
#35710 01/05/2000 12:58 AM
Joined: Jun 2000
Posts: 263
Junior Member
Junior Member
Offline
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"? [Linked Image]
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:
Code
code:

right after that add:
Code
code:

Then in ubb_library2.pl find
Code
code:

and replace it with
Code
code:

No spaces between | |. Ubb adds them, for some reason [Linked Image]



[This message has been edited by UBBMaster (edited January 06, 2000).]

Sponsored Links
#35711 01/05/2000 1:00 AM
Joined: Jun 2000
Posts: 263
Junior Member
Junior Member
Offline
Joined: Jun 2000
Posts: 263
Yeah, we should definately have a choice of disabling HTML in message!! [Linked Image]

#35712 01/05/2000 10:09 AM
Joined: Mar 2001
Posts: 37
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 37
I can't seem to get this to work [Linked Image] has anyone gotten this to work?

#35713 01/05/2000 12:18 PM
Joined: Jun 2000
Posts: 263
Junior Member
Junior Member
Offline
Joined: Jun 2000
Posts: 263
My bad.
This code should be added:
Code
code:

[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
Offline
Joined: Mar 2001
Posts: 69
Nice little old hack [Linked Image]
what about a button for fast disabling smilies [Linked Image]

------------------
Cougar's here, so have no fear
Webmaster of www.artbeast.de

Sponsored Links
#35715 01/05/2000 1:45 PM
Joined: Mar 2001
Posts: 37
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 37
would any of you happen to have an icon for this? [Linked Image]

#35716 01/05/2000 1:56 PM
Joined: Jan 2000
Posts: 48
Member
Member
Offline
Joined: Jan 2000
Posts: 48
How about this? [Linked Image]

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
Offline
Joined: Mar 2001
Posts: 37
hehe [Linked Image] good enough for me...thanx.

#35718 01/05/2000 5:42 PM
Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
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
Offline
Joined: Jun 2000
Posts: 263
It was tested on 5.41
Quote
quote:
This is what i'm going to do. I'll start today or tomorrow.

Sponsored Links
#35720 01/05/2000 7:53 PM
Joined: Jun 2000
Posts: 263
Junior Member
Junior Member
Offline
Joined: Jun 2000
Posts: 263
Quote
quote:
Glad you like it [Linked Image] My first UBB hack [Linked Image]

[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
Offline
Joined: Mar 2001
Posts: 69
ilya: np [Linked Image]
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]
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
Offline
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]

------------------
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
Offline
Joined: Jun 2000
Posts: 263
Yeah..

#35724 01/06/2000 9:25 PM
Joined: Jun 2000
Posts: 263
Junior Member
Junior Member
Offline
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
Offline
Joined: Mar 2001
Posts: 37
i dunno if we are allowed to use that icon [Linked Image] 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
Offline
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
Offline
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
Offline
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]

#35729 02/02/2000 4:15 PM
Joined: Feb 2000
Posts: 4
Junior Member
Junior Member
Offline
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
Offline
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
Offline
Joined: Mar 2001
Posts: 37
just click the edit button, and you can see the code [Linked Image]

------------------
Moderator Of The "CHIT CHAT" Forum
E-Mail: [email protected]
ICQ: 19608225
AIM: Mazmanr

#35732 02/03/2000 2:18 PM
Joined: Jan 2000
Posts: 94
Member
Member
Offline
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
#35733 02/03/2000 2:31 PM
Joined: Mar 2001
Posts: 37
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 37
here you go...i put it in a text file
http://n64forum.hypermart.net/deletepost.txt

------------------
Moderator Of The "CHIT CHAT" Forum
E-Mail: [email protected]
ICQ: 19608225
AIM: Mazmanr

#35734 02/03/2000 2:52 PM
Joined: Jan 2000
Posts: 94
Member
Member
Offline
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
Offline
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
Offline
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]

------------------
Donna
Cazic-Thule Corner

#35737 03/01/2000 10:22 PM
Joined: Jun 2000
Posts: 263
Junior Member
Junior Member
Offline
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
Offline
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
cal Offline
Programmer
Programmer
Offline
Joined: Feb 1999
Posts: 1,379
This feature is already built into the UBB. It's old news.

Just a thought [Linked Image]

#35740 03/20/2000 1:47 PM
Joined: Mar 2000
Posts: 4
Junior Member
Junior Member
Offline
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
cal Offline
Programmer
Programmer
Offline
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]

#35742 03/20/2000 3:39 PM
Joined: Jun 2000
Posts: 263
Junior Member
Junior Member
Offline
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]

------------------
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
Offline
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
Offline
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
Offline
Joined: Jan 2000
Posts: 170
Here's a fix i found somewhere in my bookmarks. Note: I take no credits for this fix!
after:
Code
code:
add:
Code
code:
The rest of the hack is correct.

#35746 02/19/2001 9:27 AM
Joined: Feb 2001
Posts: 3
Junior Member
Junior Member
Offline
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? :?


Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
JAISP
JAISP
PA
Posts: 449
Joined: February 2008
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)