Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Tidus

Pages: 1 ... 58 59 [60] 61 62 63
886
I also did a similar write up on the UOGuyz forums for anyone who uses SMF.   It is under PHP Coding -> General Coding - named  How to add a link up top to an SMF board.

887
Off Topic / TM, This is for if you want to add a link to your SMF.
« on: June 19, 2008, 01:10:31 PM »
I am going to show you how you can manually put a link into your bar up top.  If you ever choose to go with a different look.. all you need is a style.css file in a new Theme spot and it will automatically pull from the default.  But that is besides the point.

Okay say you want to put in a new link that brings you back to your main ScriptUO site.

You would add this code into your index.template.php file in front of/behind: // Show the [home] Button.  Each designated spot in the list has a [] around it and it will then allow you to place where you want.  So for example your profile link would begin like // Show the [profile] button, the links might looks like //Show the [links] Button. and so forth. So you want this code before your home button, just copy and past this code right in front of it. If you want it in front of Links... just find the spot for links and put it right in front of it.

Code: [Select]
// Show the [Scriptuo] button.
echo ($current_action == '' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == '' ? 'active_back' : 'back' , '">
<a href="http://scriptuo.com">' , $txt['scriptuo'] , '</a>
</td>' , $current_action == '' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

The Key is:
Code: [Select]
<a href="http://scriptuo.com">' , $txt['scriptuo'] , '</a>


Now you have that in your index.template.php    now you need to add one little thing to a language file.  I'm not sure if you run index.english-utf8.php or index.english.php   so i will have you add this code to both files at the bottom right before    ?>

Code: [Select]
$txt['scriptuo'] = 'Script UO';

you can change 'Script UO'  to whatever you would like it to say.  If you want it to say main it would be:

Code: [Select]
$txt['scriptuo'] = 'Main';
   

Also if you wanted your Home to be changed to forum you would do this in your language file also.

Find:
Code: [Select]
$txt[103] = 'Home';
and all you have to do is replace 'Home' with 'Forum'

So if you chose to do that you could actually change
Code: [Select]
$txt['scriptuo'] = 'Main';
   

to say

Code: [Select]
$txt['scriptuo'] = 'Home';
   


If you have any troubles let me know.  or you could always attach the files here and i would fix them.

ruaduck/Tidus





888
Off Topic / Re: Web development help (I want to learn a little more)
« on: June 19, 2008, 05:54:11 AM »
Ruck, you'll have to let me know how you got SMF to integrate correctly with e107.  I still haven't figured that out.  ;)

Okay you need to download this one first.

http://www.simplemachines.org/download/?bridges


Then read this article on it.

http://www.simplemachines.org/community/index.php?topic=216417.0

I would keep your site unwrapped like you have it.  The bridge will automatically install a new site link called Forum for you that will use the e107 (you need to use that link to get them to integrate).  You will need to get the true path to your SMF with it too.  I found mine under admin->  Server Settings -> SMF Directory.  It will not take your users from SMF over to E107... but anyone who registers on your e107 once they visit the link that was created for your forums will be able to log into E107 and forums.

My suggestions to anyone who uses this site and then later makes and e107 user.. make them the same user and  password.  And maybe that will cause the integration a bit smoother for you.

889
Site News / Re: At a loss for links to add
« on: June 18, 2008, 06:46:43 PM »
a few things i might add to links are...  Age of Valor http://www.uovalor.com (freeshard)   and   RPG Bids http://www.rpgbids.com,  an online Auction for game goods.

890
Site News / Re: At a loss for links to add
« on: June 18, 2008, 03:51:21 PM »
how dothe links gain a rating?

891
Site News / Re: At a loss for links to add
« on: June 18, 2008, 11:41:20 AM »
If you can think of UO-related links to add, please post them up so I can add them to the link database at the top of the screen.

ScriptUO Community Links Page

I'm not allowed access to be able to view the Community Links page.  This is what i get:

An Error Has Occurred!
You can not view the links page. 

892
Off Topic / Re: Web development help (I want to learn a little more)
« on: June 18, 2008, 11:38:12 AM »
the best scripting out there right now in my opinion is PHP.  It is a glorified version of HTML and can do many things in comparison to HTML.  JavaScript or Flash is just something that compliments webpage scripting.  The true scripts lay in HTML or PHP.  So go PHP.

893
IDOC tools / Re: TrailMyx's IDOC Finder v1.6
« on: June 18, 2008, 09:14:54 AM »
I love your idoc finder.  I just run around usual house placement areas and wait for the beeps.  I don't pay much attention to my screen except to make sure i'm not hitting the same areas twice.  What would be nice is if it could auto put it into a UOAM file so you can upload it later also.  Another thing i find is that sometimes it likes to search the signs that aren't exactly on my screen yet so my char ends up stopping because "the cursor is off the screen" so after it looks i just have to re-click my mouse and off and running i am again.

894
New member introductions / Re: *bark*
« on: June 18, 2008, 08:52:49 AM »
Welcome, Welcome, Welcome! You're bark got my attention so it must be worse than your bite.

895
Scripting Chat / Re: My beetle lumberjacker is coming soon.
« on: June 18, 2008, 04:22:28 AM »
Understood. I guess I should post up the one I have somewhere for people that want it. Or might post in private sections. There was one person trying to post problems with it, but never gave me enough info, think it was lag issues more, not sure if i want to post it  :)

"dude, your skripz suk.  Whenya good be fix'en it!!!"

Yeh, really useful feedback.  heh.

Hey don't be makin' fun of my cousin/brother/uncle/father/grand daddy.  he's a good man. ;)

896
Off Topic / Re: anyone else getting a connection refused from winuo?
« on: June 16, 2008, 12:31:29 PM »


This is the webhosting i use. I added 3 different things to look at. they will load up randomly each time someone visits this post.

Code: [Select]
<?php
$files 
glob('{*.PNG,*.png,*.JPG,*.jpg,*.GIF,*.gif}'GLOB_BRACE);
readfile($files[array_rand($files)]);
?>



make a .php file with that code and put it in a file/directory where you want it to randomly take your code and it will randomly pull up an image.  I use it on backgrounds on some of my websites.  It really does work :)

897
Off Topic / Re: anyone else getting a connection refused from winuo?
« on: June 16, 2008, 11:25:52 AM »
yeah it just came back up for me again.  slowly but surely :)

898
General UO Chat / Re: Golems and training
« on: June 16, 2008, 11:24:54 AM »
well i guess i don't have to get on winuo to know the bug now :)  because i was just informed by you :)

899
Off Topic / anyone else getting a connection refused from winuo?
« on: June 16, 2008, 11:23:29 AM »
I keep getting my connection refused from winuo.  I was just wondering if anyone was having the same problems.

:)

900
Off Topic / Re: I hate databases! :)
« on: June 16, 2008, 11:21:54 AM »
I wuv databases  :o

i do too... when they want to work properly for me... :shakes fist:  LOL.  i just went with making it so people have to sign up for both until they come out with a new e107 version that they are trying to make compatable with SMF :)

Pages: 1 ... 58 59 [60] 61 62 63