Previous Thread
Next Thread
Print Thread
Rate Thread
#180605 02/06/2003 5:10 PM
Joined: Jan 2003
Posts: 58
Member
Member
Offline
Joined: Jan 2003
Posts: 58
Does anyone know where in the template that you can edit out the certain parts of this:

Code
[/code]I wanted to make the IP Logged a small graphic. Now, the words IP and Logged are two seperate things in the wordlets. So I made the logged the graphic I wanted, and IP and blank graphic. That leaves:

[code]
By itself. I've check in public_topic_page.pl and in the area where the IP stuff is located nothing like "|" or ":" was found. Any other ideas?

Its making this look ugly in topics as you can see here:

http://pc.usgaming.net/cgi-bin/pc/ultimatebb.cgi?ubb=get_topic&f=4&t=000025#000001

Sponsored Links
#180606 02/06/2003 6:01 PM
Joined: Nov 2001
Posts: 1,704
CTM Offline
Moderator / Da Masta
Moderator / Da Masta
Offline
Joined: Nov 2001
Posts: 1,704
Check out ubb_lib_posting.cgi, sub create_topic. You'll be looking for the following if block:

[code][/code]Good luck smile

#180607 02/06/2003 9:42 PM
Joined: Jan 2003
Posts: 58
Member
Member
Offline
Joined: Jan 2003
Posts: 58
I successfully got the colon out, but the line was not wear to be found. Any other thoughts? Thanx so far.

#180608 02/06/2003 10:45 PM
Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
If you modified any of the code or using a different version you won't find the code exactly as posted. Find this:

[code][/code]and that IP block will be listed somewhere below.

#180609 02/06/2003 11:07 PM
Joined: Jan 2003
Posts: 58
Member
Member
Offline
Joined: Jan 2003
Posts: 58
I've looked further on below that stuff previously, and of the |'s I've seen are all crucial. Trying to take any of them out caused errors. I know it can be done. I've seen this done on other ubb's. Thats what inspired me. wink

Sponsored Links
#180610 02/06/2003 11:49 PM
Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
Ahh...You got the image in place. Alright, now you want the divider extracted. Where it says:

Code
[/code]you can try to replace it with:

[code]
See if that works.

#180611 02/07/2003 9:32 AM
Joined: Jan 2003
Posts: 58
Member
Member
Offline
Joined: Jan 2003
Posts: 58
That got the job done. I can't believe I hopped right over something that said IP divider. I guess I was looking for something else, since dividers come over every peice of info in on that line, and I wasn't expecting it to be so defined.

Anyway it works. Thanx guys. smile

#180612 02/07/2003 7:06 PM
Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
Glad it came out. smile


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
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 20221218)