|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
I did check it. I just thought it was off. o_O
|
|
|
|
Joined: Jul 2002
Posts: 35
Junior Member
|
Junior Member
Joined: Jul 2002
Posts: 35 |
i know this question has probably been asked before, but
1. How do you seperate the Statistics table from the rest of the categories (like on netwerkin.com's board)
2. How do you enable the category background image to be used (again, like on netwrkin's board)
Your help would be muchly appreciated. Thankyou
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
1. right before the stats code in public_forum_summary.pl, put "$TBB $TBT"
2. just use background attribute in tag of stats in public_forum_summary.pl.
|
|
|
|
Joined: Jul 2002
Posts: 35
Junior Member
|
Junior Member
Joined: Jul 2002
Posts: 35 |
Just wanted to say thanks for your help for starters. However, 1. I already have that code before the statistics code: $TBB $TBT
color="$vars_style{CategoryStripTextColor}">$vars_wordlets_mods{'statistics_header'} |
****Any ideas about that? 2. and i have added: background="$vars_config{NonCGIURL}/$vars_style{CategoryMainBackground}" to the statitics code and i have cleared the cache and no changes Please help me
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
You put them in the wrong place. There are two instances of stats - in Cat_Page_Bottom and PageBottom subs. Hack the PageBottom one. (right under what you're hacking now)
|
|
|
|
Joined: May 2002
Posts: 28
Junior Member
|
Junior Member
Joined: May 2002
Posts: 28 |
I can't find this in public_common.pl ################################### # open public_common.pl and find: # ################################### if ($vars_search{AllowSearch} ne 'FALSE') { # Search push(@items, qq( $vars_wordlets{search_link})); } ############## # add below: # ############## if ($vars_statistics{'MBL'}) { # Statistics push(@items, qq( $vars_wordlets_mods{'statistics_pntf'})); } Any help appreciated, Im using 6.3.0 Thank you
|
|
|
|
Joined: May 2002
Posts: 28
Junior Member
|
Junior Member
Joined: May 2002
Posts: 28 |
God - I solved it on my own, may change my login to getting better at this stuff! I rehacked on the 3rd time it worked fine???? I must have been me all along.
Doh!!
|
|
|
|
Joined: Jan 2002
Posts: 13
Junior Member
|
Junior Member
Joined: Jan 2002
Posts: 13 |
Like many, i've installed this hack and it does not display the total posts / topics on my forum home. when i go to http://www.futureff.com/cgi-bin/ultimatebb.cgi?ubb=statistics it works, and there are no other errors apart from them not showing on the forum home. I've tried what you said to do in your FAQ and it still isn't working 
|
|
|
|
Joined: Feb 2001
Posts: 273
Member
|
Member
Joined: Feb 2001
Posts: 273 |
quote: Originally posted by Olliey2k: Like many, i've installed this hack and it does not display the total posts / topics on my forum home.
The entire stats are not displayed at forum home. Please make sure that you've hacked public_forum_summary.pl
|
|
|
|
Joined: Jan 2002
Posts: 13
Junior Member
|
Junior Member
Joined: Jan 2002
Posts: 13 |
Ah  your a star. Thanks man
|
|
|
|
Joined: May 2001
Posts: 122
Member
|
Member
Joined: May 2001
Posts: 122 |
quote: Originally posted by [email protected]: Hi, ive just installed this hack after upgrading to 6.3.0.1.
All works well except i can not get into the contorl panel stats menu. I get this error "You do not have permission to access this area."
Anyone have any ideas?
Thanks Paulyou have to end each line in cp.cgi #end vars_statistics #end set_vars_statistics in the same way as each of the other lines. I am not sure how this was overlooked in the zip file or why no one else has pointed it out, but I just spent 20 minutes figuring it out and now all works fine. 
A wise man Confucious once say, "Man who stands on toilet, high on pot!"
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
quote: Originally posted by bizkit73: I am not sure how this was overlooked in the zip file or why no one else has pointed it out, but I just spent 20 minutes figuring it out and now all works fine. I guess because it doesn't do anything In Perl, what's after "#" is a comment - no meaning to the program. The actual fix is just to rehack cp.cgi. 
|
|
|
|
Joined: Sep 2001
Posts: 10
Junior Member
|
Junior Member
Joined: Sep 2001
Posts: 10 |
http://dre.design2i.com/ubbcgi/ultimatebb.cgi, im getting a weird error with this script, i dont know how to fix it. - There is no info in the statistics box on main page
- Theres a awkward black space in the cell..?
please help me out..
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Both of them are connected to each other. Re-hack ubb_forum_summary.cgi. Make sure that when you see "Add above" you add ABOVE, and when you see "Add below" you add BELOW. 
|
|
|
|
Joined: May 2001
Posts: 122
Member
|
Member
Joined: May 2001
Posts: 122 |
quote: Originally posted by konartist: http://dre.design2i.com/ubbcgi/ultimatebb.cgi, im getting a weird error with this script, i dont know how to fix it.
- There is no info in the statistics box on main page
- Theres a awkward black space in the cell..?
please help me out..
I had the same identical problem and although I am not a ubb hacker and LK disputes what I wrote, after I added the ending lines it worked. I don't know if this created an extra space it needed or what, but after I did that it worked for me fine. I rehacked every file 3 times to the tee of what the instructions wrote, but I had that same problem. Try looking at the spacing between lines and adjust them to the pattern of the lines that fall before the code you are entering. That is my best advice for you.
A wise man Confucious once say, "Man who stands on toilet, high on pot!"
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
bizkit, did you, by any chance, re-hack ubb_forum_summary.cgi when you "fixed" cp.cgi? 
|
|
|
|
Joined: May 2001
Posts: 122
Member
|
Member
Joined: May 2001
Posts: 122 |
I rehacked all the files from scratch when I noticed that. But I also rehacked them 3 times over. But I see where you are getting at and you could be right. the end statements probably didn't do anything. I probably just added a space or maybe took one away while I was hacking the other files. I do remember rehacking ubb_forum_summary.cgi like 3 times though and I just tried several different things before I got it working.
A wise man Confucious once say, "Man who stands on toilet, high on pot!"
|
|
|
|
Joined: Feb 2001
Posts: 273
Member
|
Member
Joined: Feb 2001
Posts: 273 |
Maybe you just forgot to clear the cache and then did this comment thing, cleared cache and saw it working???
|
|
|
|
Joined: May 2001
Posts: 122
Member
|
Member
Joined: May 2001
Posts: 122 |
I am also still running the 6.3.0 beta 1 ubb too and maybe that could be my problem. I am just hesitant on upgrading though because I hate rehacking my entire board and I finally have it the way I want it.
A wise man Confucious once say, "Man who stands on toilet, high on pot!"
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
bizkit you can upgrade to 6.3.1 without loosing hacks with Beyond Compare. There is a tutorial in the database.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
This hack is, probably, final, and Tovok posted it at https://ubbdev.com/ubbcgi/ultimatebb.cgi?ubb=get_topic;f=30;t=000007 ... I'm closing this thread.
|
|
|
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: 87
Joined: December 2001
|
|
Forums63
Topics37,575
Posts293,931
Members13,824
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|