News:

Join the Facebook Fan Page.

Main Menu

2 Home Buttons

Started by S.T.A.R.S, July 07, 2011, 07:07:48 PM

Previous topic - Next topic

Sir Osis of Liver


I left that in because it works that way, and minimizes the edit.  The more you change, the more likely it'll get buggered up.

I suggested commenting out the caching just while doing the edit, makes it easier to see the changes, and you're aleady editing that area.  Should have made it clear that the caching line should be restored when the edit is finished.

Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

Matthew K.

' . ' is not necessary, if anything it makes it much more complicated than it really needs to be. Regarding commenting it out, as I said, it's not really necessary, especially since just commenting out that line will kill SMF, as I said because the closing bracket would be left.

S.T.A.R.S

Where is Modifications.english.php located?
Currently Developing a Gaming Site and Forum. Providing forums for all gamers around the world to socialise and dicuss with others. We support all genres of games!

Currently underdevelopment!

Need any Website Based help? PM me on Facebook

PM Me for Details, in need of sensible reliable moderators.

Nick Whetstone

Quote from: S.T.A.R.S on July 08, 2011, 03:16:34 PM
Where is Modifications.english.php located?
/Themes/default/languages/
The artist formerly known as (Ha)²

Former Support Specialist

Please do not solicit support via PM. Here's why!

Sir Osis of Liver

Quote from: Labradoodle-360 on July 08, 2011, 03:02:06 PM
' . ' is not necessary, if anything it makes it much more complicated than it really needs to be. Regarding commenting it out, as I said, it's not really necessary, especially since just commenting out that line will kill SMF, as I said because the closing bracket would be left.

Sorry, that was a post-and-run, and I didn't explain it well.  The point of the code I posted was to show that we are replacing a variable with a string, and that's the simplest and clearest way to do it, especially for a member who may be unfamiliar with SMF/php.  Agreed, the syntax is clunky, but it's correct, and will work properly. 

I commented out the caching code on my 2.0 install to facilitate viewing the edit, and it didn't cause any problems - would not have posted it if I hadn't tried it.  Certainly it should not be left that way, and I suppose I could have made that clearer.

My code may not be elegant, but it werks gud. 


Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

S.T.A.R.S

Ok thankyou its working.

When i click on theb utton it displays this information:

QuoteWelcome to MMO Multi Gaming Resource, powered by Simple Machines® Forum (SMF) software!

SMF® is the elegant, effective, powerful and free forum software solution that this site is running. It allows users to communicate in discussion topics on a given subject in a clever and organized manner. Furthermore, it has a number of powerful features which end users can take advantage of. Help for many of SMF's features can be found by either clicking the question mark icon next to the relevant section or by selecting one of the links on this page. These links will take you to SMF's centrally-located documentation on the Simple Machines official site.

    Registering - Many forums require users to register to gain full access.
    Logging In - Once registered, users must login to access their account.
    Profile - Each member has their own personal profile.
    Search - Searching is an extremely helpful tool for finding information in posts and topics.
    Posting - The whole point of a forum, posting allows users to express themselves.
    Bulletin Board Code (BBC) - Posts can be spiced up with a little BBC.
    Personal Messages - Users can send personal messages to each other.
    Memberlist - The memberlist shows all the members of a forum.
    Calendar - Users can keep track of events, holidays, and birthdays with the calendar.
    Features - Here is a list of the most popular features in SMF.

For more information about how to use SMF, please see the Simple Machines Documentation Wiki and check out the credits to find out who has made SMF what it is today.

Is there anyway i can redirect the user to another webpage once he/she clicks on the "website" link?

thanks
Currently Developing a Gaming Site and Forum. Providing forums for all gamers around the world to socialise and dicuss with others. We support all genres of games!

Currently underdevelopment!

Need any Website Based help? PM me on Facebook

PM Me for Details, in need of sensible reliable moderators.

Sir Osis of Liver


Um....thought that was explained (several ways) at the top of this thread.  What are you missing?

Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

Advertisement: