|
Joined: Jan 2003
Posts: 118
Member
|
Member
Joined: Jan 2003
Posts: 118 |
OK.. Undid first step, found the code you provided and replaced with the code you added... This is what I get now:
syntax error at NonCGIPath/Templates/public_forum_summary.pl line 125, near "$hf" BEGIN not safe after errors--compilation aborted at NonCGIPath/Templates/public_forum_summary.pl line 379.
-GATOR
"Pain is temporary, Pride is forever"
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
|
|
|
|
Joined: Jan 2003
Posts: 118
Member
|
Member
Joined: Jan 2003
Posts: 118 |
OK, that seemed to fix the errors.. But under my status is it supposed to say something? It just shows up blank.. I am both admin and megamoderator...
-GATOR
"Pain is temporary, Pride is forever"
|
|
|
|
Joined: Sep 2001
Posts: 672
Member
|
Member
Joined: Sep 2001
Posts: 672 |
Gator: yes its supposed to show your status and your avatar picture. make sure your javascript src to your ubb_status is also at the bottom of public_forum_summary 
|
|
|
|
Joined: Sep 2001
Posts: 672
Member
|
Member
Joined: Sep 2001
Posts: 672 |
Whats wrong with this code? It seems right to me, but the graphic will not show up? $user_status = qq($vars_wordlets{unregistered}/guest <img src="$vars_config{NonCGIURL}/graemlins/frown.gif" />); Im assuming qq qq~ and qq! all do roughly the same thing in displaying standard html, and I've tried all of these
|
|
|
|
Joined: Sep 2001
Posts: 672
Member
|
Member
Joined: Sep 2001
Posts: 672 |
b.t.w I take it this doesnt work with opera yet eh? Maybe you can work on that Ian Ok, well I used your previous alteration of code for ubb_hits Ian, using innerHTML as well. works now in Opera. You should make that update Ian on your forums Now, back to my original code help question.....
|
|
|
|
Joined: Sep 2001
Posts: 672
Member
|
Member
Joined: Sep 2001
Posts: 672 |
also, is there a way in ubb_status to force avatar size for the forum summary? Like setting width,height to 70x70?
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
yeah, find the image tag, add width="70" height="70"
|
|
|
|
Joined: Sep 2001
Posts: 672
Member
|
Member
Joined: Sep 2001
Posts: 672 |
sweet... I thought u had to do it in ubb_status...guess not. Ok, thanks dude now I gotta figure out why the code on the previous page doesnt work, wanted a frown gif if you were unregistered
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
it won't work, I tried. The JS won't allow html to be parsed. It'll just print the code
|
|
|
|
Joined: Sep 2001
Posts: 672
Member
|
Member
Joined: Sep 2001
Posts: 672 |
Ya, I've struggled with it myself also for some time now. Ahh well
|
|
|
|
Joined: Jan 2003
Posts: 118
Member
|
Member
Joined: Jan 2003
Posts: 118 |
On the first page of this forum there is a snapshot of someone else's board with the same problem I am about to mention if you would like the visual.
How do I get rid of that extra space under "Your Info"
On the other side, Forum Info is nice and tight without the space. I just want Your Info and Forum Info to display the same.
Appreciation as always!
-GATOR
"Pain is temporary, Pride is forever"
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
you could just edit the html to remove the space.
|
|
|
|
Joined: Jan 2003
Posts: 118
Member
|
Member
Joined: Jan 2003
Posts: 118 |
Right. I can do that. Can you point to the direction of the space please?  Or even where I might look?
-GATOR
"Pain is temporary, Pride is forever"
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
The line right after when the instructions tell you to add "Your info"
|
|
|
|
Joined: Jan 2003
Posts: 118
Member
|
Member
Joined: Jan 2003
Posts: 118 |
Ahh.. That line... Found it. Thanks! 
-GATOR
"Pain is temporary, Pride is forever"
|
|
|
|
Joined: Jan 2003
Posts: 118
Member
|
Member
Joined: Jan 2003
Posts: 118 |
OK, after I did that, something strange happened. I thought it would go away, but it didn't. Now, on my main portal page for whatever reason it says; You last visited: December 10, 2003 at 05:49 PM.
On the forum home page it says: You last visited: 08-10-2004 05:49 PM which would be correct. Uhh, what did I do and how can I fix please? Much thanks in advance...
-GATOR
"Pain is temporary, Pride is forever"
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
This is not part of this hack, so you really shouldn't post it here it's a bug in javascript from what I can tell. change var month = parseInt(tippy_array[0]) - 1; to var month = tippy_array[0] - 1; in your header insert
|
|
|
|
Joined: Dec 2003
Posts: 49
User
|
User
Joined: Dec 2003
Posts: 49 |
Is this possible with UBB.Threads?
Anybody try it or created anything similar?
Last edited by Nightcrawler; 12/04/2007 4:08 PM.
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
It's possible, the custom islands already do something very similar 
|
|
|
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: 1,157
Joined: July 2001
|
|
Forums63
Topics37,575
Posts293,931
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|