Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Dec 2000
Posts: 730
deutscher moderator / v5 specialist
deutscher moderator / v5 specialist
Offline
Joined: Dec 2000
Posts: 730
Name: Image Indicator Icon

Description: Icon to indicate threads with images

Link: Text File

Demo: none

Author: joking-down

Requirement: UBB™ 6.2 - 6.3

Sponsored Links
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
Warning: Using this hack will cause problems if you ever move from 6.2.0 to 6.2.1 or higher.


UBB.classic: Love it or hate it, it was mine.
Joined: Dec 2000
Posts: 730
deutscher moderator / v5 specialist
deutscher moderator / v5 specialist
Offline
Joined: Dec 2000
Posts: 730
How can I fix this problem? I think it's $Aline[11], isn't it?

Joined: Dec 2000
Posts: 730
deutscher moderator / v5 specialist
deutscher moderator / v5 specialist
Offline
Joined: Dec 2000
Posts: 730
I forgott the modifications in ubb_forum.cgi in the file.

please download the textfile again...

Joined: Sep 2002
Posts: 35
Member
Member
Offline
Joined: Sep 2002
Posts: 35
so if i have 6.2.1.1 this hack will cause big problems???

Sponsored Links
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
Yeah, as the instructions are for 6.2.0. The poll data is kept on the A-line (in the next index), and versions after 6.6 will likely add at least two or three new fields...

It would probably be better if the hack were modfiied to keep the image flag in an external file like the 6.5+ sticky list.... or if the hack were redesigned for 6.5+, if it was kept in the closed/moved/sticky field (A-line index... 2?)...


UBB.classic: Love it or hate it, it was mine.
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Quote
quote:
Originally posted by Charles Capps:
if the hack were redesigned for 6.5+, if it was kept in the closed/moved/sticky field (A-line index... 2?)...
I think that's the best idea, in any case your [11] thing only has one letter ("I") tipsy

Joined: Dec 2000
Posts: 730
deutscher moderator / v5 specialist
deutscher moderator / v5 specialist
Offline
Joined: Dec 2000
Posts: 730
Thanks CC. I fixed it.
Now I use $Aline[1] and Field[1] in forum_thread_data.

Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
There's one problem: you can't do it for older versions frown For example take a look at public_forum_page.pl:[code][/code]So if you add "I" it will be "XI" instead of "X", and the if expression will return false...

Joined: Dec 2000
Posts: 730
deutscher moderator / v5 specialist
deutscher moderator / v5 specialist
Offline
Joined: Dec 2000
Posts: 730
I would change every
Code
[/code]to
[code]

Sponsored Links
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
First off you can't put =~ /X/ in JavaScript, it's Perl code, and also maybe there are other places..

Joined: Dec 2000
Posts: 730
deutscher moderator / v5 specialist
deutscher moderator / v5 specialist
Offline
Joined: Dec 2000
Posts: 730
At the moment I don't know how to solve this problem. I ckeck it this evening...

Joined: Sep 2002
Posts: 35
Member
Member
Offline
Joined: Sep 2002
Posts: 35
keep me posted, i've been looking for this hack for over a year now!! you guys are awesome!!

Joined: Sep 2002
Posts: 35
Member
Member
Offline
Joined: Sep 2002
Posts: 35
i just tested it out on my 6.2.1.1 forum and all of my reply buttons went missing and the top row of the forum page was blank, AND the "my profile | register | search | faq | forum home" links where gone as well. did i do something wrong or is this the bug right now??

Joined: Dec 2000
Posts: 730
deutscher moderator / v5 specialist
deutscher moderator / v5 specialist
Offline
Joined: Dec 2000
Posts: 730
LK, I checked the code in ubb_forum.cgi where $closed is set and found this code:

UBB 6.2.0:
Code
[/code]UBB 6.1.0.3:
Code
</pre></div></div>I think field [1] can contain additionally letters without affecting the foldericons.<br> <br><br>@jweltydotcom<br>If you've changed the JavaScript-Code<br>[code]
please undo this change...

Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
You're right, sorry tipsy

Joined: Dec 2000
Posts: 730
deutscher moderator / v5 specialist
deutscher moderator / v5 specialist
Offline
Joined: Dec 2000
Posts: 730
Quote
quote:
Originally posted by jweltydotcom:
i just tested it out on my 6.2.1.1 forum and all of my reply buttons went missing and the top row of the forum page was blank, AND the "my profile | register | search | faq | forum home" links where gone as well. did i do something wrong or is this the bug right now??
I tested the modification in a unhacked UBB 6.2.0 and could not find this error.
Only 2 templatefiles are modified. The file public_forum_page.pl and cp_vars_style_core.pl...

Still does someone have these problems after implementing the modification?

Joined: Sep 2002
Posts: 35
Member
Member
Offline
Joined: Sep 2002
Posts: 35
ok i got it working, turns out i messed up the vars_wordlet file and nothing was showing up because of that.

so you can add 6.2.1 to your list of tested and works list!!

Joined: Dec 2000
Posts: 730
deutscher moderator / v5 specialist
deutscher moderator / v5 specialist
Offline
Joined: Dec 2000
Posts: 730
cool... cool cool
I added your Board as location for a demo. laugh
Additionally I added the version 6.2.1 to the list of the tested versions.

Joined: Sep 2002
Posts: 35
Member
Member
Offline
Joined: Sep 2002
Posts: 35
nice laugh

would this hack cause my forums to slow down at all?? it now seems like they are moving very slow compared to pre-hack.
.

Joined: Dec 2000
Posts: 730
deutscher moderator / v5 specialist
deutscher moderator / v5 specialist
Offline
Joined: Dec 2000
Posts: 730
The IE needs longer to display the side because the page contain more tables.
A benchmark resulted in the following CPU times on my computer (2P3 550 MHz; Win2k; Apache/2.0.40 (Win32)):

without the hack:
  • 0 wallclock secs ( 0.06 usr + 0.14 sys = 0.20 CPU)
  • 0 wallclock secs ( 0.05 usr + 0.17 sys = 0.22 CPU)


with the hack:
  • 0 wallclock secs ( 0.08 usr + 0.16 sys = 0.24 CPU)
  • 0 wallclock secs ( 0.06 usr + 0.14 sys = 0.20 CPU)

Joined: Sep 2002
Posts: 35
Member
Member
Offline
Joined: Sep 2002
Posts: 35
ok, must just be my sorry server then!! i really need to upgrade to a dedicated server, anyone had problems transferring their board to a new server???

Joined: Sep 2002
Posts: 35
Member
Member
Offline
Joined: Sep 2002
Posts: 35
Just found a bug in the hack.

On any post with an image in it now when you reply the transistion page will double up templates and post normal transition page plus scrolling down will have the same thing again BUT with this error in the text:

"No member profile found for member number: '00005071I' "

throughout the site now this happens and i think it has something to do with the "I", notice in the error, '00005071I'. what do you guys think is causing this>??

Joined: Sep 2002
Posts: 35
Member
Member
Offline
Joined: Sep 2002
Posts: 35
bump

Joined: Dec 2000
Posts: 730
deutscher moderator / v5 specialist
deutscher moderator / v5 specialist
Offline
Joined: Dec 2000
Posts: 730
uh. I checked the modification code and found no error. Have you checked the code and is everything correct?

Joined: Sep 2002
Posts: 35
Member
Member
Offline
Joined: Sep 2002
Posts: 35
yes, i am pretty sure everything is correct. in addition i do not get email notification when i make a post that has an image.

Joined: Dec 2000
Posts: 730
deutscher moderator / v5 specialist
deutscher moderator / v5 specialist
Offline
Joined: Dec 2000
Posts: 730
uh... i think there is something wrong but I'm not sure what. :rolleyes:

there can't be a notification email. the script end with an error before the mail is send... mad

Does someone have an idea what the error could be?

Joined: Sep 2002
Posts: 35
Member
Member
Offline
Joined: Sep 2002
Posts: 35
you may want to remove my site as a demo since i removed the hack until the bug is fixed!

Joined: Sep 2002
Posts: 35
Member
Member
Offline
Joined: Sep 2002
Posts: 35
any update on the fix for this hack!?!?

Joined: Sep 2002
Posts: 35
Member
Member
Offline
Joined: Sep 2002
Posts: 35
any update>??

Joined: Dec 2000
Posts: 730
deutscher moderator / v5 specialist
deutscher moderator / v5 specialist
Offline
Joined: Dec 2000
Posts: 730
can you send me the modified files? I'll check them...

Joined: Nov 2002
Posts: 188
Member
Member
Offline
Joined: Nov 2002
Posts: 188
I made a few slight changes to "public_forum_page.pl" and it works like a champ on my very heavily modified 6.3.1.2 board. The changes were only necessary due to the mods that I have installed.

Visit http://www.gun-talk.com/cgi-bin/ultimatebb.cgi?ubb=forum;f=5;DaysPrune=30 to see it in action!


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
isaac
isaac
California
Posts: 1,157
Joined: July 2001
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
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)