Customizing SMF > Tips and Tricks

The Tips and Tricks Board

(1/1)

dtm.exe:
What is the Tips and Tricks board?

The Tips and Tricks board contains a collection of manual SMF modifications.  For a complete listing of tips and tricks, see the Tips and Tricks index.

Why are some tips and tricks not working?

All tips and tricks in this board have been tested and should be fully functional.  If the trick is not working after adding it, this could be because your version of SMF may differ from the that of the tip or trick.  All feedback, issues, and questions should be posted in the tip or trick's topic.

How do I submit a tip or trick?

To submit a tip or trick, post it in SMF Coding Discussion along with a message requesting that a moderator or team member move your topic to the Tips and Tricks board.  If a team member or moderator feels that your submission is beneficial to other SMF users, we will move it to the Tips and Tricks board.

Joshua Dickerson:
I want tips/tricks submitted like this:

Create a topic in SMF Coding Discussion with [TIP/TRICK] as the prefix in the subject and the exclamation point as the icon

In the body I want it to be clearly layed out. I want the question being asked or the problem to be solved on the first line in bold. If a tip/trick was developed as a question that was answered in a topic, on the second line I want it to say "More information can be found in: " then put a link to the topic. On the fourth line I want it to say "Tip/Trick:" in bold. Then, on the fifth line, you can start with the info.

EXAMPLE

Subject:

--- Quote ---[TIP/TRICK] Rename index.php
--- End quote ---

Body:

--- Quote ---Question: How do I rename index.php?
Original Topic: http://www.simplemachines.org/community/index.php?topic=58439

Open Sources/QueryString.php
Find:

--- Code: ---$scripturl = $boardurl . '/index.php';
--- End code ---
Replace (where % is what you want to replace it with):

--- Code: ---$scripturl = $boardurl . '/%.php';
--- End code ---

--- End quote ---

Navigation

[0] Message Index

Go to full version