PDA

View Full Version : replacement hack wanted


Kaethy
02-04-2004, 09:10 AM
hi folks

does anybody knew if there is a hack or similar that replace's all http::// or www only in threads or replays with for example h**p:// or w*w. But only replaced in threads or replays. Should not be replaced in Signature or mails or other things on vbb..

Plz help

Thx.. Greating Katharina :o

Kaethy
02-04-2004, 08:45 PM
Thx everybody for helping me

:mad:

Andy
02-06-2004, 11:57 AM
You can do that with a query. Why do you need to do this?

Kaethy
02-06-2004, 02:14 PM
You can do that with a query. Why do you need to do this?
Sorry i don't knew how u would make it with a querry... Hmm i need it, because i don't wanna have some full links in my vbb... Do u knew how i can make it with a hack?

Thx for help

Regards Katharina

Andy
02-07-2004, 03:16 AM
i need it, because i don't wanna have some full links in my vB...

Why do you want to do this?

I can give you a query that will replace every http with h**p but it would be good to know what your trying to do.

Kaethy
02-07-2004, 07:19 AM
so it ist because in here in switzerland we don't like full links in boards... so this is only in threads not in signatures or mails and so on. That means when somebody makes a thread wieht a full link like http://www.aaaaa.ch this must be h**p://w*w/aaaaaa.ch . But as i said only in threads and replies .... All the other links in Heads, signatures , pn's and so on must be original..

I hope u understand what i mean..

Thanks anyway and hope u can help me..

Regards and Big Hug

Katharina

:squareeyed:

Andy
02-07-2004, 11:10 AM
so it ist because in here in switzerland we don't like full links in boards...

Hi Katharina,

I'm very confused why you would think that in Switzerland "they" do not like full links. A quick check on some .ch websites revealed many links that use the full address on the webpages.

What is your concern. What are you trying to prevent? If I understand your problem I or others can hopefully come up with the best solution.

Kaethy
02-07-2004, 12:03 PM
Don't worry... its my own privat board... i just want to have no full links on threads... but i can try to make it by myself.. There is nothing forbidden or so.. IIt is just an idea from me..

C U

Katharina

Andy
02-07-2004, 02:36 PM
That is what I thought.

I'll ask again. What is your concern? Why do you not want to have a link with the complete address?

MGM
02-07-2004, 07:44 PM
it's for his own private use, you have no right to ask that or to know, if he doesn't want to tell, that's his business, if you're THAT worried, then don't give him your query

MGM out

Kaethy
02-07-2004, 08:46 PM
i AM NOT A HIM... I AM A HERE.. AND DON'T BE AFRAID I AM NOT A CRIMINAL.. BUT IF U DON'T WANT TO HELP ME NO PROBLEM.. I WILL FIND HELP SOMWHERE ELSE..

ARE U THIS AFFRAID OF CRIMINAL...

U DISAPOINT ME...

BUT ANYAY, THANKS TO ALL THE OTHERS WHO WANTET TO HELP

MindTrix
02-07-2004, 08:58 PM
You could try using the censor option but i believe this may censor signatures etc which you did not want. Also MetalGearMaster is right Andy B. Kaethy explained clearly why she needed this, if you was not willing to give her a solution there was no need for the constant posts ;)

Andy
02-07-2004, 09:18 PM
I was just curious to understand why Katharina would not want to have links in her posts. If she does not want to explain it then that is fine. All she had to do is say so.

Here is a query that will change http to h**p in every post. Please backup your database before running.

UPDATE post SET pagetext = REPLACE(pagetext, 'http', 'h**p')

Note the post_parsed table will still cache existing posts, so it will appear that no change have been made. You need to run Rebuild Post Cache for the change to take effect.

admin cp -> Import & Maintenance -> Update Counters -> Rebuild Post Cache

MindTrix
02-07-2004, 09:42 PM
In post 4 she told you why she wanted it :p i understand where your comming from aswell mate. Thanks for the query all the same.

Andy
02-07-2004, 09:51 PM
Thanks Liam. I was only trying to help. :)

MindTrix
02-07-2004, 09:57 PM
I know, and you did :p (dont take my comments the wrong way, they were meant friendly ;) )

Kaethy
02-08-2004, 06:54 AM
Thx To All.. U Knew I Am Still Beginner In Php... Thats Why I Will Find Out Some Things.. Was Not In A Bad Mather.. Like U Guy's .. Traiing To Do My Best To Explain, But English Is Not My Mother Thng .

Ok Explanation. I Have A Vbb Installed On My Privat Computer. So I Tryed Out Some Different Things. Then I Saw The Rplacement Variable In Admin Panel. But Every Time A Replaced Something, All My Post , My Signatures And So On Wanted To Be Replaced Too. This Is What I Didn't Want. So I Was Looking For A Hak Which Only Replaces Word's In Threads, Postings, And Replay's.. Taht's The Wholw Magic.. But By The Way,, Der Is An Existing Hack Named "attachement To File" It Moves An Attachement Which Is In A Database To A File On Server. But The Name From The File Is Similar Then The Attachement, How Can I Find Out, What Was The Real Name From Attachement.

Thx All Guy's ... Like To Be A New Memberin In Your Borad

So Good So Far..

Kissis And Hugs..

Katharina