Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
#115734 05/25/2004 8:15 PM
Joined: Jan 2003
Posts: 118
G
Member
Offline
Member
G
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"
Sponsored Links
#115735 05/25/2004 8:23 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
I
Master Hacker
Offline
Master Hacker
I
Joined: Jan 2003
Posts: 3,456
Likes: 2
edited post, try now

#115736 05/25/2004 8:43 PM
Joined: Jan 2003
Posts: 118
G
Member
Offline
Member
G
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"
#115737 05/25/2004 9:06 PM
Joined: Sep 2001
Posts: 672
H
Member
Offline
Member
H
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 wink

#115738 05/26/2004 9:29 AM
Joined: Sep 2001
Posts: 672
H
Member
Offline
Member
H
Joined: Sep 2001
Posts: 672
Whats wrong with this code? It seems right to me, but the graphic will not show up?

Code
$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

Sponsored Links
#115739 05/26/2004 11:12 AM
Joined: Sep 2001
Posts: 672
H
Member
Offline
Member
H
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 wink


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 laugh


Now, back to my original code help question.....

#115740 05/26/2004 7:22 PM
Joined: Sep 2001
Posts: 672
H
Member
Offline
Member
H
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?

#115741 05/26/2004 7:32 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
I
Master Hacker
Offline
Master Hacker
I
Joined: Jan 2003
Posts: 3,456
Likes: 2
yeah, find the image tag, add width="70" height="70"

#115742 05/26/2004 7:45 PM
Joined: Sep 2001
Posts: 672
H
Member
Offline
Member
H
Joined: Sep 2001
Posts: 672
sweet... I thought u had to do it in ubb_status...guess not. Ok, thanks dude wink

now I gotta figure out why the code on the previous page doesnt work, wanted a frown gif if you were unregistered

#115743 05/26/2004 7:52 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
I
Master Hacker
Offline
Master Hacker
I
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

Sponsored Links
#115744 05/27/2004 12:17 PM
Joined: Sep 2001
Posts: 672
H
Member
Offline
Member
H
Joined: Sep 2001
Posts: 672
Ya, I've struggled with it myself also for some time now. Ahh well

#115745 08/08/2004 2:10 PM
Joined: Jan 2003
Posts: 118
G
Member
Offline
Member
G
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"
#115746 08/08/2004 2:40 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
I
Master Hacker
Offline
Master Hacker
I
Joined: Jan 2003
Posts: 3,456
Likes: 2
you could just edit the html to remove the space.

#115747 08/08/2004 2:42 PM
Joined: Jan 2003
Posts: 118
G
Member
Offline
Member
G
Joined: Jan 2003
Posts: 118
Right. I can do that. Can you point to the direction of the space please? smile Or even where I might look?


-GATOR

"Pain is temporary, Pride is forever"
#115748 08/08/2004 2:50 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
I
Master Hacker
Offline
Master Hacker
I
Joined: Jan 2003
Posts: 3,456
Likes: 2
The line right after when the instructions tell you to add "Your info"

#115749 08/08/2004 4:11 PM
Joined: Jan 2003
Posts: 118
G
Member
Offline
Member
G
Joined: Jan 2003
Posts: 118
Ahh.. That line... Found it. Thanks! smile


-GATOR

"Pain is temporary, Pride is forever"
#115750 08/10/2004 6:15 PM
Joined: Jan 2003
Posts: 118
G
Member
Offline
Member
G
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"
#115751 08/10/2004 6:51 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
I
Master Hacker
Offline
Master Hacker
I
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

Code
var month = parseInt(tippy_array[0]) - 1;
to

Code
var month = tippy_array[0] - 1;
in your header insert

Ian Spence #316436 12/04/2007 4:07 PM
Joined: Dec 2003
Posts: 49
N
User
Offline
User
N
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.
Nightcrawler #316584 01/08/2008 4:59 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
OP Offline
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
It's possible, the custom islands already do something very similar smile


- Allen wavey
- What Drives You?
Page 2 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
jgeoff
jgeoff
NJ
Posts: 96
Joined: April 2001
Forum Statistics
Forums63
Topics37,557
Posts293,856
Members13,847
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,819
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 70
Gizmo 16
Brett 7
WebGuy 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2021 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Snapshot build 20210915)
Responsive Width:

PHP: 7.3.29 Page Time: 0.026s Queries: 55 (0.014s) Memory: 0.8828 MB (Peak: 0.9834 MB) Data Comp: Zlib Server Time: 2021-10-27 10:41:47 UTC
Valid HTML 5 and Valid CSS