Previous Thread
Next Thread
Print Thread
Rate Thread
#180928 03/01/2003 9:00 PM
Joined: Feb 2003
Posts: 28
Junior Member
Junior Member
Offline
Joined: Feb 2003
Posts: 28
I doubt if this is in the right forum...so move it if not.

I need to get rid of :

my profile | register | search | faq | forum home |

At the top of my page, so i can put a custom header.

Can someone be kind enough to help me out...PLEASE?

Sponsored Links
#180929 03/01/2003 9:04 PM
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
Check out public_common.pl, sub MainButtonLine


UBB.classic: Love it or hate it, it was mine.
#180930 03/01/2003 9:30 PM
Joined: Feb 2003
Posts: 28
Junior Member
Junior Member
Offline
Joined: Feb 2003
Posts: 28
thank you!....what do i do, just delete that whole section or what?

I want to be able to still reach those places via buttons on custom header.

As you can tell...i am completly new at all of this.

#180931 03/01/2003 10:17 PM
Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
I would just delete "$mainbuttonsline" code from the "Tables" in public_common.pl (at least 4 places). By doing so however, you'll no longer have your main button links unless you were going to hardcode it. For myself I didn't use the "$mainbuttonsline" but I left the "sub MainButtonOptions {" intact.

#180932 03/01/2003 10:22 PM
Joined: Feb 2003
Posts: 28
Junior Member
Junior Member
Offline
Joined: Feb 2003
Posts: 28
too confusing.

Sponsored Links
#180933 03/01/2003 10:25 PM
Joined: Feb 2003
Posts: 28
Junior Member
Junior Member
Offline
Joined: Feb 2003
Posts: 28
With what you said...somehting about tables and hard code...if i delete that...would those pages still exist?
So like if i have the links as an image in my heade...would they work corectly?r

#180934 03/01/2003 10:39 PM
Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
Well, if you delete "$MainButtonsLine" your pages will still exist. Your links: "my profile | register | search | faq | forum home |" will no longer display however. Basically you'll have to manually code it yourself.

If you want to replace the word links with image links then do what Charles said by going into your public_common.pl file (noncgi) and look for:

sub MainButtonOptions {

If you're not familiar with HTML this might get a little tricky. Whatt you will need to do is remove:

$vars_wordlets{profile_link}
$vars_wordlets{login_link}
$vars_wordlets{register_link}
$vars_wordlets{directory_link}
$vars_wordlets{search_link}
$vars_wordlets{faq_link}
$vars_wordlets{forum_home_link}

which display the word links and replace them with your image code "" It's important to look at the words in the above codes and you'll see which is for the "my profile", "register", "search", "register", "faq" and "forum home". Example:

$vars_wordlets{forum_home_link} = forum home

#180935 03/01/2003 10:45 PM
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Well, if you're looking to remove the |'s check:

https://ubbdev.com/ubbcgi/ultimatebb.cgi?ubb=get_topic;f=17;t=000967

https://ubbdev.com/ubb/ultimatebb.php?ubb=get_topic;f=17;t=000930#000000

I ask things in twos frown BTW... If you're just looking to get rid of them completely, you'd have to remove the actual lines from the template as described in the above posts.

If you're looking for the "Cosmetic Links" (links as images basically) check:
https://ubbdev.com/ubb/ultimatebb.php?ubb=get_topic;f=33;t=000011


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
#180936 03/01/2003 10:54 PM
Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
Eh?

#180937 03/01/2003 11:01 PM
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
I thought he was trying to get rid of the | guess I was wrong :x...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Sponsored Links
#180938 03/01/2003 11:08 PM
Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
Initially I thought he wanted to get rid of the entire "MainButtonsLine". His 4th post I got the impression he wanted image links instead of the standard "vars wordlets" links. The Cosmetic Links is a good option in this case.

Then again I could be wrong.

#180939 03/01/2003 11:29 PM
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Can never tell half the time so I included differant options, figured that hopefully one would be correct lol...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
#180940 03/02/2003 7:28 PM
Joined: Feb 2003
Posts: 28
Junior Member
Junior Member
Offline
Joined: Feb 2003
Posts: 28
Ok....i want to completely get rid of the links and |'s. However, i need the pages that they link to, to still work, because i then want to make a custom header and include links to some of those pages (search, profile, etc).

So i think you guys have explained it good enough. Ill try it out in a while.

Oh...one more thing...... Will one of those ways get rid of the Forum Title above the links too? I This to (of course) will be added to the custom header. If not......how can i do this?

Thanks you guys.

#180941 03/02/2003 7:53 PM
Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
#1 question: Yes...The pages will still exist but not the default links to those pages. By removing "$MainButtonsLine" you'll get rid of both links and "|". laugh

#2 question:

In public_common.pl look for:

Code
[/code]and:

Code
</pre></div></div>and look for:<br><br>[code]
The "$vars_config{BBName}" is the wordlet for the UBB title.


smile

#180942 03/02/2003 8:00 PM
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Prime always gets to things before me, and to think, I'm using the XML output to read posts lol... GJ btw... FareWell, I look forward to see your final result smile .


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
#180943 03/03/2003 12:52 PM
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
In 6.5 getting rid of the $mainbuttonsline in standard_title_table and the search version isn't going to help. $mainbuttonsline is in the templates directly. The JCTemplates use standard_title_table but the standard templates don't.

You either have to remove the code from within the $mainbuttonsline definition in public_common.pl or remove $mainbuttonsline from each template.

#180944 03/05/2003 6:36 PM
Joined: Feb 2003
Posts: 28
Junior Member
Junior Member
Offline
Joined: Feb 2003
Posts: 28
Quote
quote:
Originally posted by PrimeTime:
#1 question: Yes...The pages will still exist but not the default links to those pages. By removing "$MainButtonsLine" you'll get rid of both links and "|". laugh

#2 question:

In public_common.pl look for:

Code
[/code]and:

Code
</pre></div></div>and look for:<br><br>[code]
The "$vars_config{BBName}" is the wordlet for the UBB title.


smile
Ok, i got the links taken out...now i cant seem to figure out how to take out the board title. Im not sure what to do with what you said Prime...i tried deleting the whole sections, or just the wordlet thing that you said...and its still there...........what am i doing wrong?!?!?!??!

#180945 03/05/2003 6:44 PM
Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
Umm...What UBB version are you running because X is right about 6.5 version. Can you also take a screenshot of your "board title" so I have a better idea what you are referring to?

#180946 03/05/2003 6:50 PM
Joined: Feb 2003
Posts: 28
Junior Member
Junior Member
Offline
Joined: Feb 2003
Posts: 28
running 6.3.1.2.

I mean the text right above the links that i wanted to get rid of...its my board name or title.

#180947 03/05/2003 6:53 PM
Joined: Feb 2003
Posts: 28
Junior Member
Junior Member
Offline
Joined: Feb 2003
Posts: 28
How do i take a screen shot?

#180948 03/05/2003 6:59 PM
Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
Ahh...I wonder if you deleted part of the image code which also contains "$vars_config{BBName}"?:

Code
[/code]Just for the sake of it try deleting the entire code set in "$standard_title_table":

Code
</pre></div></div>If that takes your board name away then this is the code you want to target and delete:<br><br>[code]
See if that works. smile

#180949 03/05/2003 7:00 PM
Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
Quote
quote:
Originally posted by Farewell:
How do i take a screen shot?
Press "Print Screen" on your keyboard (on the right of "F12" key then you can copy and paste that to Paint.

#180950 03/05/2003 7:16 PM
Joined: Feb 2003
Posts: 28
Junior Member
Junior Member
Offline
Joined: Feb 2003
Posts: 28
Halelujiah! Its Gone.......thank you very much!!!!!!!

#180951 03/05/2003 7:30 PM
Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
Don't forget to do that too with the "$search_standard_title_table" in public_common.pl. smile

#180952 03/05/2003 7:34 PM
Joined: Feb 2003
Posts: 28
Junior Member
Junior Member
Offline
Joined: Feb 2003
Posts: 28
i lied, all the |searc|...etc links are gone on the first page, but they are still there on the right once i go into the forums.

#180953 03/05/2003 8:22 PM
Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
On every page (other than the forum summary) or just the forum pages?

#180954 03/05/2003 8:23 PM
Joined: Feb 2003
Posts: 28
Junior Member
Junior Member
Offline
Joined: Feb 2003
Posts: 28
just the forum pages....(and opened threads).

#180955 03/05/2003 8:45 PM
Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
Hmm...Hehe.

You may need to edit the "$MainButtonsLine" manually in the public_forum_page.pl and public_topic_page.pl files. Then again if you are certain you do not want these links you can just do with Charles and X suggested by going into public_common.pl and edit out the codes in:

[code][/code]

#180956 03/05/2003 8:53 PM
Joined: Feb 2003
Posts: 28
Junior Member
Junior Member
Offline
Joined: Feb 2003
Posts: 28
so, just delete all the code in
sub MainButtonOptions { ?
Does that include deleting sub MainButtonOptions { itself?

#180957 03/05/2003 8:58 PM
Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
I guess you could delete everything in between:

Code
[/code]and 

[code]
or these codes as well. I just didn't choose that route in case you decide in the future that you want to use it.

#180958 03/05/2003 9:11 PM
Joined: Feb 2003
Posts: 28
Junior Member
Junior Member
Offline
Joined: Feb 2003
Posts: 28
ok, ill try it out.


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
Posts: 70
Joined: January 2007
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 20240430)