Previous Thread
Next Thread
Print Thread
Rate Thread
#118645 05/05/2001 6:30 PM
Joined: Dec 2000
Posts: 100
Member
Member
Offline
Joined: Dec 2000
Posts: 100
anybody know where $MainButtonsLine is?

Sponsored Links
#118646 05/05/2001 7:01 PM
Joined: Apr 2001
Posts: 83
Member
Member
Offline
Joined: Apr 2001
Posts: 83
I think it is in the public_forum_summary.pl

#118647 05/05/2001 7:38 PM
Joined: Dec 2000
Posts: 100
Member
Member
Offline
Joined: Dec 2000
Posts: 100
no, but thanks

#118648 05/05/2001 10:59 PM
Joined: Dec 2000
Posts: 100
Member
Member
Offline
Joined: Dec 2000
Posts: 100
does anyone know?

#118649 05/06/2001 12:04 PM
Joined: Sep 2000
Posts: 90
Member
Member
Offline
Joined: Sep 2000
Posts: 90
public_edit_post.pl
public_new_reply_form.pl
public_new_topic_form.pl
public_pm_form.pl

Sponsored Links
#118650 05/06/2001 1:32 PM
Joined: Dec 2000
Posts: 100
Member
Member
Offline
Joined: Dec 2000
Posts: 100
uhh...which one?

#118651 05/06/2001 5:08 PM
Joined: Apr 2001
Posts: 4
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 4
public_login.pl

#118652 05/06/2001 8:52 PM
Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
ITS DEFINED IN ubb_lib.cgi. Why the heck are these guys telling you otherwise i dont know.

#118653 05/07/2001 6:13 PM
Joined: Sep 2000
Posts: 90
Member
Member
Offline
Joined: Sep 2000
Posts: 90
Hmm MM... I was just answering his question... try to find the line $MainButtonsLine in ubb_lib.cgi and I'll give you a cookie...

Anyway, as far as I know, that exact LINE is located in the four template files I said, as well as the template file mentioned by cooled.

But feel free to find out where that line is defined in ubb_lib.cgi ... MM may be right, y'know [Linked Image]

[ May 07, 2001 06:14 PM: Message edited by: Canis Lupus ]

#118654 05/07/2001 6:15 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
smile

it's called in quite a few template files... most of the public_x.pl ones...


- Allen wavey
- What Drives You?
Sponsored Links
#118655 05/07/2001 6:50 PM
Joined: Sep 2000
Posts: 1,304
Addict
Addict
Offline
Joined: Sep 2000
Posts: 1,304
The main $MainButtonsLine is in ubb_lib.cgi

#118656 05/07/2001 6:52 PM
Joined: Feb 2000
Posts: 61
Member
Member
Offline
Joined: Feb 2000
Posts: 61
Ever considered using the Find feature built right into Windows? I know similar utilities come with MacOS and Linux. Just in case someone doesn't know how to do this in Windows...

Locate the directory containing your UBB files.

Right-Click -> Find... -> Containing text -> Find Now

Really easy, huh?

Better yet, get a real text editor, like Multiedit . When working on a mod, when I need to find every instance of something, I can simply open all the UBB files simultaneously and do a global search. The search results show up in a tree list . Double clicking on an entry in that list brings me right to that line of code. Sweet.


"Waffles are nothing more than a vehicle for butter and syrup" - Dr. Clayton Forrester
#118657 05/07/2001 10:07 PM
Joined: Sep 2000
Posts: 90
Member
Member
Offline
Joined: Sep 2000
Posts: 90
Quote
quote:
Uh huh, I see $MainButtons several times in ubb_lib.cgi, but I don't see $MainButtonsLine... so where is it? wink

Sorry, just trying to reiterate the obvious...

#118658 05/09/2001 2:37 PM
Joined: May 2001
Posts: 47
Member
Member
Offline
Joined: May 2001
Posts: 47
Quote
quote:
The actual function is defined as $MainButtons in ubb_lib.cgi, and is called in various other templates as $MainButtonsline. If you edit anything in the main function, it'll effect the rest of it obviously. If you just want to move the location of where it's displayed, then you'd go to the various templates and move the $MainButtonsLine to wherever you want it placed.

[ May 09, 2001 02:39 PM: Message edited by: DGmayor ]


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)