Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Joined: Apr 2001
Posts: 117
Member
Member
Offline
Joined: Apr 2001
Posts: 117
Hi joking down, I was totally impressed by the way you solved the search engine problem...sounds like you really know your stuff. There is one more hack that I think is great, but has always been left out of the database, because it doesnt work exactly...its the Interest Indicator Icon Hack. Its a great idea...every time you post in a thread, a small dot appears in a folder icon in the form listing, which really helps you track on what threads u have posted in. Although it seems to work after you have hacked it - the cookies never quite work out again, as you constanly have "new threads" in the forum listings. Its a pity....maybe you could have a look at the code? Its not in the database as I have said, but i have got a copy of it - InterestIndicator.zip

Or if anyone else could have a go at it......

Sponsored Links
Joined: Dec 2000
Posts: 730
deutscher moderator / v5 specialist
deutscher moderator / v5 specialist
Offline
Joined: Dec 2000
Posts: 730
hi rich9,

this is an interesting hack... [Linked Image]
and i think this in an easy one... [Linked Image] [Linked Image] [Linked Image]


[Linked Image] i cant' post the code here. the system display this message:
quote:
Sorry, we do not permit this HTML tag: Parenthesis in HTML tag

Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
Moderator / Code Fixer
Offline
Joined: Oct 2000
Posts: 743
Just replace the parenthesis with another character, and simply state that chatacter X should really be Character Z, in the code below.


I can't afford a good signature editor frown
Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
Or put it in a .txt and post the link.

Joined: Dec 2000
Posts: 730
deutscher moderator / v5 specialist
deutscher moderator / v5 specialist
Offline
Joined: Dec 2000
Posts: 730
you can download the mod here ...

Sponsored Links
Joined: Apr 2001
Posts: 117
Member
Member
Offline
Joined: Apr 2001
Posts: 117
I tried it joking-down...it looks good! But theres a problem -

[Linked Image]

Hmmm, not sure what happened....but at least the cookies are fine, they seemd to be ok. So close, yet so far!

Joined: Dec 2000
Posts: 730
deutscher moderator / v5 specialist
deutscher moderator / v5 specialist
Offline
Joined: Dec 2000
Posts: 730
there is a mistake in the code...
change & lt; IMG to "
[ 01-14-2002 02:26 PM: Message edited by: joking-down ]

Joined: Apr 2001
Posts: 117
Member
Member
Offline
Joined: Apr 2001
Posts: 117
Nope, Im afraid it does not work at all, its back to the problem I had before...and this time the Indicators dont even show up (as you can see from the pic above, I have posted in some of those threads, and some should have "closedib.gif"). Grrr, this hack is such a bugger! Any ideas whats happening wrong now joking-down?

Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
Myybe put "'s around the 0 in Border=0. *Shrugs*

Joined: Dec 2000
Posts: 730
deutscher moderator / v5 specialist
deutscher moderator / v5 specialist
Offline
Joined: Dec 2000
Posts: 730
i think i found the error...


postings.cgi:

search in sub DoPostTheReply and sub DoPostTheTopic
Code
[/code]
add after
Code
</pre></div></div><br><br>search in <span style="font-style: italic">sub ForwardWithCookies</span><br><div class="ubbcode-block"><div class="ubbcode-header">Code</div><div class="ubbcode-body ubbcode-pre" ><pre>
and replace with
Code
</pre></div></div><br><br>search<br><div class="ubbcode-block"><div class="ubbcode-header">Code</div><div class="ubbcode-body ubbcode-pre" ><pre>
and replace with
[code]

only the new postings have the Interest Indicator Icon...


[edit]disable sig & smilies

[ 01-14-2002 07:41 PM: Message edited by: joking-down ]

Sponsored Links
Joined: Apr 2001
Posts: 117
Member
Member
Offline
Joined: Apr 2001
Posts: 117
Ok,I will have another go, its worth the effect, i think its a great hack.

Joking down, I see you tested a post on my board, sorry mate, but as soon as I found out it wasnt working 100%, I removed the hack.

I will let you know

Joined: Apr 2001
Posts: 117
Member
Member
Offline
Joined: Apr 2001
Posts: 117
Nope, that will not work im afraid....and the cookies go all weird again. biut it is possible - amazingly, i registered on another 5.45c...and the admin has actually got it working! Here, u can test it - http://www.aquariacentral.com/forums/Ultimate.cgi I dont know what he has done.....any more ideas joking-down?

Joined: Dec 2000
Posts: 730
deutscher moderator / v5 specialist
deutscher moderator / v5 specialist
Offline
Joined: Dec 2000
Posts: 730
have you removed the old cookies from your forum?

Joined: Apr 2001
Posts: 117
Member
Member
Offline
Joined: Apr 2001
Posts: 117
Nope. it wont work...I wil leave the faulty hack on myboard, so u could test it if u want...Im sure i havent made a coding error.....

Joined: Dec 2000
Posts: 730
deutscher moderator / v5 specialist
deutscher moderator / v5 specialist
Offline
Joined: Dec 2000
Posts: 730
in PrefsSubmit the cookie is set without the domain and the variable for profilenumber is wrong (the HTML-Code show:
Code
[/code]...

if modifybio the cookie is set without the domain. the ProfileNumber is not set there.

why the ProfileNumber is not saved on post i don't know... <img src="confused.gif" border="0" alt="" />


can you add in forumdisplay before the line
Code
</pre></div></div><br>[code]

now you can see the data of the cookie "ProfileNumber"...

Joined: Apr 2001
Posts: 117
Member
Member
Offline
Joined: Apr 2001
Posts: 117
Hmmm, that doesnt help it seems...and there's an error now ("Done, but with errors" in the browser")...I closed the "get cookie" as well....

Joined: Dec 2000
Posts: 730
deutscher moderator / v5 specialist
deutscher moderator / v5 specialist
Offline
Joined: Dec 2000
Posts: 730
add the JS-Code for getting the cookies...

Joined: Apr 2001
Posts: 117
Member
Member
Offline
Joined: Apr 2001
Posts: 117
Sorry joking-down?

Joined: Dec 2000
Posts: 730
deutscher moderator / v5 specialist
deutscher moderator / v5 specialist
Offline
Joined: Dec 2000
Posts: 730
search in the code for function getCooki e(name) { and copy this function and insert it after [code][/code]

Joined: Apr 2001
Posts: 117
Member
Member
Offline
Joined: Apr 2001
Posts: 117
Ok...I searched for it...so you want me to paste this bit of code -

[code][/code]

If thats the right bit of code........

Joined: Dec 2000
Posts: 730
deutscher moderator / v5 specialist
deutscher moderator / v5 specialist
Offline
Joined: Dec 2000
Posts: 730
jepp... this is the code you need

Joined: Apr 2001
Posts: 117
Member
Member
Offline
Joined: Apr 2001
Posts: 117
Ok, done that, the JS error has now gone...but still no sign of the indicator. Blimey, this hack is a toughie!

Joined: Dec 2000
Posts: 730
deutscher moderator / v5 specialist
deutscher moderator / v5 specialist
Offline
Joined: Dec 2000
Posts: 730
when you save your profile (search for Member Profile Modification Confirmation in ubbmisc.cgi) there is no domain in the cookie.
you don't save the profilenumber in the cookie there.

Joined: Apr 2001
Posts: 117
Member
Member
Offline
Joined: Apr 2001
Posts: 117
Ok, do the whole thing again...exactly like this? - -

Ahhh man this boardis totally nuts!!! How are u mean to post hacks when you can even post code!! Crazy.........Got this "Parenthsis" crap........

Joined: Dec 2000
Posts: 730
deutscher moderator / v5 specialist
deutscher moderator / v5 specialist
Offline
Joined: Dec 2000
Posts: 730
install Step 4 from the original mod and replace 3 times
Code
[/code]
with
[code]

i don't know why we can't post HTML in a [ code [ /code] block... [Linked Image]

Joined: Apr 2001
Posts: 117
Member
Member
Offline
Joined: Apr 2001
Posts: 117
Ok...so i will remove your step 4, and replce the original one....not sure where to place the

[quote]when you save your profile (search for Member Profile Modification Confirmation in ubbmisc.cgi) there is no domain in the cookie.
you don't save the profilenumber in the cookie there.[quote]

exactly though (the chunk of JS and the VAR)

JD....Soon I think Im gonna have to give up. Have you got a PWS, or something like that? Would be easier if u could test it on one of those....

As fpr the Parenthesis, i agree, its impossible....

Joined: Dec 2000
Posts: 730
deutscher moderator / v5 specialist
deutscher moderator / v5 specialist
Offline
Joined: Dec 2000
Posts: 730
i modified the Mod . now it contain all steps.

Joined: Apr 2001
Posts: 117
Member
Member
Offline
Joined: Apr 2001
Posts: 117
OK JD, I will remove the entire hack...and start again....I will tell you what happens

Joined: Apr 2001
Posts: 117
Member
Member
Offline
Joined: Apr 2001
Posts: 117
Ok, I finally got some time to try this hack again....and I cant get past Step 1. I must search for (in postings.cgi -

[code][/code]

That is definitely not in 5.45c version, not in my hacked version anyway

[ 01-18-2002 07:06 PM: Message edited by: Rich9 ]

Joined: Dec 2000
Posts: 730
deutscher moderator / v5 specialist
deutscher moderator / v5 specialist
Offline
Joined: Dec 2000
Posts: 730
oh...

i fixed the error.
download the Mod V1.03 here

Joined: Apr 2001
Posts: 117
Member
Member
Offline
Joined: Apr 2001
Posts: 117
Hi JD...no go again Im afraid. Still on step 1, but this bit of code -

[code][/code]

does not exist, not even $fileName

Joined: Dec 2000
Posts: 730
deutscher moderator / v5 specialist
deutscher moderator / v5 specialist
Offline
Joined: Dec 2000
Posts: 730
it was an error.
i fixed it. download the mod again. the link is not changed...

Joined: Apr 2001
Posts: 117
Member
Member
Offline
Joined: Apr 2001
Posts: 117
Ive done it JD.....and its no show again. Im sure the code is right (lol, im so used by doing it ) but nothing.....not even in the ultimate.cgi. I will leave the code in there, if u want to test it out.....I would even send you the files if u want, check it out for erros....perhaps I have made some sort of mistake, i severly doubt it....

Joined: Dec 2000
Posts: 730
deutscher moderator / v5 specialist
deutscher moderator / v5 specialist
Offline
Joined: Dec 2000
Posts: 730
i don't know why the cookies are not saved in the browser. i don't know why. [Linked Image]


change all
Code
[/code]
to
[code]


you can send me the files. but i'm at the moment very busy. my new system goes wendsday online and i have some problems with the #!"§$%& frames...

Joined: Nov 2000
Posts: 123
CT Offline
Member
Member
Offline
Joined: Nov 2000
Posts: 123
Can someone give Joking-Down an award for his help?

Thanks man, I'm struggling with this hack as well.

Macht's gut und vielen dank,

CT.

Joined: Nov 2000
Posts: 123
CT Offline
Member
Member
Offline
Joined: Nov 2000
Posts: 123
Ok, you still deserve a raise, award and a brandnew sportscar. However, I also get a 500-error when using your modifications in forumdisplay.cgi

I'm checking them out now...

Joined: Nov 2000
Posts: 123
CT Offline
Member
Member
Offline
Joined: Nov 2000
Posts: 123
[code][/code]

Joined: Apr 2001
Posts: 117
Member
Member
Offline
Joined: Apr 2001
Posts: 117
Hi CT. Your code is worong somewhere (obviously smile ) so the hack you polaced, has got a type error. Theres no 2 ways about it.

JD helps me out, I gave him the files, and I had made an error somewhere....now my indicator works smile Its a good hack.....JD might be a bit too busy now though.....I could send you my files, although you couldnt use them, you could isolate the hacks and see where u are going wrong....

Joined: Nov 2000
Posts: 123
CT Offline
Member
Member
Offline
Joined: Nov 2000
Posts: 123
Fixed it. It was around line 700 for me:

[code][/code]Make sure there are only 3 }, there were 4 } when I got the error. (how in God's name do you call a } in English? smile )

Joined: Nov 2000
Posts: 123
CT Offline
Member
Member
Offline
Joined: Nov 2000
Posts: 123
[removed double post]

This board is buggy for me, how come? I get some errors now and then...

Page 1 of 2 1 2

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
Posts: 70
Joined: January 2007
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 20240430)