News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Pretty URLs

Started by SMFHacks.com Team, January 31, 2007, 10:56:43 AM

Previous topic - Next topic

KGIII

LOL I have some 70+ mods installed - all on the default theme - just to see if it breaks stuff. Oh yes, MANY of them had to be done manually but only in that one file. When I am approved to the team and work my way up so that I can convince 'em that there should be an SMF con? The first round is officially on you - but I have the next one just 'cause it worked. Sound fair?

My PC Support Forum
Please ask in-thread before PMing
                   SMF Help
                   Visit My Blog

How can we improve the support process?:
http://www.simplemachines.org/community/index.php?topic=163533.0

SMF vs. Godzilla? Who do you think will win?

Gandalf The White

Hi,

I tried to install "Pretty URLs - Base", and nothing happen to my url.
Then I installed "Extention: none", when I click on the forum link, the url was not found...

I was previously using phpbb and just switch to SMF, so I'm not familiar with the SMF mod thing.
What should I do to install pretty urls? Please advice...

Thanks
hxxp:www.work-at-home-sites.com/forum [nonactive]

KGIII

After you installed it did you rename example.htaccess to .htaccess? It is a bit of a pain perhaps but not too hard - just follow all the directions in the 11th post in the thread and, well, you should be all set.

My PC Support Forum
Please ask in-thread before PMing
                   SMF Help
                   Visit My Blog

How can we improve the support process?:
http://www.simplemachines.org/community/index.php?topic=163533.0

SMF vs. Godzilla? Who do you think will win?

Gandalf The White

Thanks KGIII, i got it now...
hxxp:www.work-at-home-sites.com/forum [nonactive]

Dannii

"Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise."

KGIII

* KGIII thinks that this should be so popular that adding the directions to the first post might be a good idea. ;)

My PC Support Forum
Please ask in-thread before PMing
                   SMF Help
                   Visit My Blog

How can we improve the support process?:
http://www.simplemachines.org/community/index.php?topic=163533.0

SMF vs. Godzilla? Who do you think will win?

Dannii

I couldn't before because editing was broken, but I'll do it now ;)
"Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise."

KGIII

Hmm... I went to go rate it. There is no rate option for this mod anywhere? That is too bad, I was going to vote early and often. (I like it in other words.)

My PC Support Forum
Please ask in-thread before PMing
                   SMF Help
                   Visit My Blog

How can we improve the support process?:
http://www.simplemachines.org/community/index.php?topic=163533.0

SMF vs. Godzilla? Who do you think will win?

SA™

hi i just installed this mod and at the top of my site i getv this // Pretty URLs mod $txt['pretty_root_url'] = 'Pretty URLs root URL
(Without a final slash)
'; // Pretty URLs mod $txt['pretty_root_url'] = 'Pretty URLs root URL
(Without a final slash)
'; wot do i need to do to get rid of it thanks in advance
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

SA™

Quote from: wdm2005 on February 05, 2007, 12:24:49 AM
hi i just installed this mod and at the top of my site i getv this // Pretty URLs mod $txt['pretty_root_url'] = 'Pretty URLs root URL
(Without a final slash)
'; // Pretty URLs mod $txt['pretty_root_url'] = 'Pretty URLs root URL
(Without a final slash)
'; wot do i need to do to get rid of it thanks in advance
ive uninstalled but itsbsrtill there
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

KGIII

Did you install it even though it had errors when you went to install it? You will need to reverse the manual installation of mods routine that is listed in the online documentation.

My PC Support Forum
Please ask in-thread before PMing
                   SMF Help
                   Visit My Blog

How can we improve the support process?:
http://www.simplemachines.org/community/index.php?topic=163533.0

SMF vs. Godzilla? Who do you think will win?

SA™

Quote from: KGIII on February 05, 2007, 02:25:54 AM
Did you install it even though it had errors when you went to install it? You will need to reverse the manual installation of mods routine that is listed in the online documentation.


no there wasnt no errers
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

KGIII

wdm2005: Did you rename the HTACCESS file and follow all of the directions in the first post?

My PC Support Forum
Please ask in-thread before PMing
                   SMF Help
                   Visit My Blog

How can we improve the support process?:
http://www.simplemachines.org/community/index.php?topic=163533.0

SMF vs. Godzilla? Who do you think will win?

Dannii

wdm2005, post up your modifications.english.php file. Something went wrong with the package manager.
"Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise."

SA™

Quote from: eldʌkaː on February 05, 2007, 07:43:44 AM
wdm2005, post up your modifications.english.php file. Something went wrong with the package manager.
where do i find that on my server  
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

SA™

#35
Quote from: wdm2005 on February 05, 2007, 03:03:54 PM
Quote from: eldʌkaː on February 05, 2007, 07:43:44 AM
wdm2005, post up your modifications.english.php file. Something went wrong with the package manager.
where do i find that on my server 

i cantm find it where should it be sry for being a noob but im new to all this and i just want to get ride of all this writing

// Pretty URLs mod $txt['pretty_root_url'] = 'Pretty URLs root URL
(Without a final slash)
'; // Pretty URLs mod $txt['pretty_root_url'] = 'Pretty URLs root URL
(Without a final slash)

thanks in advance if you can help i dont realy want to reinstall smf becuse it took me ages to get this far many many thanks if you can help ps it has made the writng bigger as well hears a link to myu site so u can see
www.joyrider.web-space.ws/forum
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

NEMINI

theme/default/language folder
signatures are boring.

SA™

Quote from: NEMINI on February 05, 2007, 08:38:03 PM
theme/default/language folder

rite i found it and i just delleted it and its all ok thanks for ure help ps ididnt need it did i? i havnt got it installed any more so i didnt think it matterd let me no thanks again for ure help
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

SA™

ok i relised i needed it so here it is thanks


<?php
// Version: 1.1; Modifications

$txt['arcade'] = 'Arcade';
$txt['arcade_admin'] = 'Arcade Admin';   
$txt['arcade_manage_games'] = 'Games';
$txt['arcade_manage_category'] = 'Categories';
$txt['arcade_settings'] = 'Settings';

// Permission names and help
$txt['permissiongroup_arcade'] = 'Arcade';
$txt['permissionname_arcade_view'] = 'View Arcade';
$txt['permissionhelp_arcade_view'] = 'May access Arcade and use basic features like search and view highscores';
$txt['permissionname_arcade_play'] = 'Play on Arcade';
$txt['permissionhelp_arcade_play'] = 'Allows member to play on arcade, in games which he/she has rights to';
$txt['permissionname_arcade_admin'] = 'Administrate arcade';
$txt['permissionhelp_arcade_admin'] = 'Arcade Administarator can Install/Edit/Delete game, Delete scores and edit settings for arcade';
$txt['permissionname_arcade_view'] = 'View Arcade';
$txt['permissionhelp_arcade_view'] = 'May access Arcade and use basic features like search and view highscores';
$txt['permissionname_arcade_favorite'] = 'Use Favorites feature';
$txt['permissionhelp_arcade_favorite'] = 'Allows member to favorite and unfavorite games';
$txt['permissionname_arcade_submit'] = 'Save scores';
$txt['permissionhelp_arcade_submit'] = 'Allows users to save their scores.';
$txt['permissionname_arcade_rate'] = 'Rate games';
$txt['permissionhelp_arcade_rate'] = 'Allows users to rate games.';
$txt['permissionname_arcade_comment'] = 'Allow to comment/edit comment';
$txt['permissionhelp_arcade_comment'] = 'Allows user to edit comments, own or any';
$txt['permissionname_arcade_comment_any'] = 'Any';
$txt['permissionname_arcade_comment_own'] = 'Own';

// Errors if they can't do something
$txt['cannot_arcade_play'] = 'You are not allowed to play games!';
$txt['cannot_arcade_view'] = 'You are not allowed to access arcade.';
$txt['cannot_arcade_favorite'] = 'You are not allowed to favorite games';
$txt['cannot_arcade_rate'] = 'You are not allowed to rate games';
$txt['cannot_arcade_comment_own'] = 'You are not allowed to comment';

// Who's online
$txt['who_arcade'] = 'Viewing Arcade index';
$txt['who_arcade_play'] = 'Playing <a href="' . $scripturl . '?action=arcade;sa=play;game=%d">%s</a> on Arcade';
$txt['who_arcade_highscore'] = 'Viewing highscores of <a href="' . $scripturl . '?action=arcade;sa=play;game=%d">%s</a> on Arcade';

// Help
$txt['arcade_max_scores_help'] = 'Maximum scores that will be stored per member. (0 means unlimited)';
$txt['arcade_membergroups_help'] = 'These groups will be allowed to play and view highscores. Others will not see this game, only used if permission mode will use game permissions.';// Karma Blocks Package v0.4
$txt['karma_applauds'] = "Applauds";
$txt['karma_smites'] = "Smites";
$txt['karma_applaud_color'] = "green";
$txt['karma_smite_color'] = "red"; //html can be used (red - #ff0000)
//
//Begin SMF Staff Page Text Strings
$txt['smfstaff_stafflist'] = 'Staff List';
$txt['smfstaff_admin'] = 'Staff Configuration';

$txt['permissionname_view_stafflist'] = 'View Staff List';
$txt['permissionhelp_view_stafflist'] = 'Staff List shows all members on your Staff. You can change which member groups are shown by going to Layout and Options and look for SMF Staff filter. This permission allows you to toggle who can view the staff list.';
$txt['cannot_view_stafflist'] = 'You can not view the staff list.';

//Begin Contact Page Text Strings
$txt['smfcontact_contact'] = 'Contact';
$txt['permissionname_view_contact'] = 'View Contact Page';
$txt['permissionhelp_view_contact'] = 'Allows members to view contact page and send email.';
$txt['cannot_view_contact'] = 'You can not view the contact page.';
//END Contact Page Text Strings         

//Begin SMF Links Text Strings
$txt['smflinks_menu'] = 'Links';
$txt['smflinks_admin'] = 'Links Configuration';


$txt['permissiongroup_smflinks'] = 'SMF Links';
$txt['permissionname_view_smflinks'] = 'View Links Page';
$txt['permissionhelp_view_smflinks'] = 'Sets if the user can view the links page.';
$txt['cannot_view_smflinks'] = 'You can not view the links page.';
$txt['permissionname_add_links'] = 'Add Links';
$txt['permissionhelp_add_links'] = 'If the user is allowed to submit links';
$txt['cannot_add_links'] = 'You can not add links.';
$txt['permissionname_edit_links'] = 'Edit Links';
$txt['permissionhelp_edit_links'] = 'If the user is allowed to edit links';
$txt['cannot_edit_links'] = 'You can not edit links.';
$txt['permissionname_delete_links'] = 'Delete Links';
$txt['permissionhelp_delete_links'] = 'If the user is allowed to delete links';
$txt['cannot_delete_links'] = 'You can not delete links.';
$txt['permissionname_approve_links'] = 'Approve Links';
$txt['permissionhelp_approve_links'] = 'If the user is allowed to approve links';
$txt['cannot_approve_links'] = 'You can not approve links.';
$txt['permissionname_links_auto_approve'] = 'Links Auto Approved';
$txt['permissionhelp_links_auto_approve'] = 'If the users links are auto approved when submitted.';
$txt['permissionname_rate_links'] = 'Rate Links';
$txt['permissionhelp_rate_links'] = 'If the user is allowed to rate links';
$txt['cannot_rate_links'] = 'You are not allowed to rate links.';
$txt['permissionname_links_manage_cat'] = 'Manage Categories';
$txt['permissionhelp_links_manage_cat'] = 'User can add/remove/edit/reorder categories';
$txt['cannot_links_manage_cat'] = 'You are not allowed to manage categories.';
//END SMF Links Strings         

$txt['visual_warning_mod']='Visual Warning Mod';
$txt['visualw_mess_ban']='Message To Show For Banned User';
$txt['visualw_mess_mute']='Message To Show For Muted User';
$txt['visualw_mess_pmod']='Message To Show For Post Moderated User';
$txt['visualw_mess_warn']='Message To Show For Warned User';
$txt['visualw_color_ban']='Color of Message For Banned User';
$txt['visualw_color_mute']='Color of Message For Muted User';
$txt['visualw_color_pmod']='Color of Message For Post Moderated User';
$txt['visualw_color_warn']='Color of Message For Warned User';
$txt['visualw_image_ban']='Image to Show For Banned User';
$txt['visualw_image_mute']='Image to Show For Muted User';
$txt['visualw_image_pmod']='Image to Show For Post Moderated User';
$txt['visualw_image_warn']='Image to Show For Warned User';
$txt['warningAutoTime']='Default Time Before Warning Removed (Days):';
$txt['moderationAutoTime']='Default Time Before Moderation Removed (Days):';
$txt['muteAutoTime']='Default Time Before Mute Removed (Days):';
$txt['visualw_pmod_edit']='Moderated Users May Edit Messages:';
$txt['visual_require_mod'] = 'messages require moderation';
$txt['visual_raise']='Raise Warning Level';
$txt['visual_no_perm']='You Do Not Have Permission To Raise Warning Levels';
$txt['visual_no_warnings']='User has NO Current Warnings!';
$txt['visual_prev_warning']='Previous Warning Details';
$txt['visual_current_level']='Current Level:';
$txt['visual_topic_raised']='Topic Where Raised:';
$txt['visual_time_raised']='Time When Raised:';
$txt['visual_reason_raised']='Reason For Raise:';
$txt['visual_level_details']='New Level Details';
$txt['visual_submit']='Submit';
$txt['visual_new_level']='New Level:';
$txt['visual_warning_management']='Warning Management';
$txt['visual_list_desc']='This lists all users that currently have some form of warning (levels 1,2 or 3. Level 4 is not listed as these members have already been banned! You can choose to mass reduce members here or click the member to adjust level accordingly';
$txt['visual_member']='Member';
$txt['visual_level']='Level';
$txt['visual_reason']='Reason';
$txt['visual_when']='When';
$txt['visual_text_warn']='Warned';
$txt['visual_warn']='Warn';
$txt['visual_perm_modify']='You Do Not Have Permission To Modify This Message';
$txt['visual_official_warning']='You Have Received an Offical Warning';
$txt['visual_received_warning']='You have received a warning for recent conduct on our message board. Please follow the link below for more information:';
$txt['visual_been_muted']='You Have Been Muted Due To Bad Behaviour';
$txt['visual_no_karma']='You May Not Give Karma Whilst Warned';
$txt['visual_stages']='(0=None, 1=Warned, 2=Moderated, 3=Muted. 4=Banned)';
$txt['visual_text_pmod']='Moderated';
$txt['visual_text_mute']='Muted';
$txt['visual_text_ban']='Banned';
$txt['visual_none']='None';
$txt['visual_warning_increased']='I have to inform you that your warning level on the board has been increased.';
$txt['visual_warning_reduced']='I am pleased to announce that your warning level on the board has been reduced.';
$txt['visual_reduced']='Warning level reduced';
$txt['visual_lasts']='Time Warning Lasts (Blank=Default)';
$txt['visual_postmod_manager']='Post Moderation Manager';
$txt['visual_postmod_user_under']='This User Is Currently Having All Theirs Posts Approved Before Posting';
$txt['visual_postmod_under']='You Are Currently Under Post Moderation';
$txt['visual_postmod_not']='This User Is Not Post Moderated';
$txt['visual_postmod_is']='This User Is Post Moderated';
$txt['visual_postmod_change']='Change This User\'s Status';
$txt['visual_postmod']='Post Moderation';
$txt['visual_postmod_auth']='You are not authorised to perform this action!';
$txt['visual_postmod_appear']='You Are Currently Under Post Moderation - Your Post Will Appear After Approval';
$txt['visual_postmod_awaiting']='These are all the posts awaiting moderation. To approve a posts (or posts) check all the messages you wish to approve and select "Approve" to delete messages off select those messages you wish to delete and select "Delete"';
$txt['visual_postmod_username']='Username';
$txt['visual_postmod_subject']='Subject/Message';
$txt['visual_postmod_approve']='Approve';
$txt['visual_postmod_delete']='Delete';
$txt['permissiongroup_visual_warn']='Give warnings and perform post moderation';
$txt['permissionname_visual_warn_any']='Warn users';
$txt['permissionname_visual_approve_any']='Approve posts';

// Board Viewers Mod

$txt['enable_board_viewers'] = 'Enable displaying viewer numbers of boards';
$txt['boardViewersGuestsMembers'] = 'Seperate guest and member numbers';
$txt['boardViewersClickable'] = 'Enable pop-up list by clicking viewer numbers';
$txt['countChildPosts'] = 'Count child\'s viewers and posts in parent\'s totals';
$txt['bv_members_guests_none'] = 'There are no users viewing this board.';
$txt['bv_members_guests_this'] = 'There are %s members and %s guests viewing this board.';
$txt['bv_members_guests_child'] = '%s members and %s guests are viewing the child boards of this board.';
$txt['bv_members'] = 'Members';
$txt['viewersBrowsing'] = 'Viewers browsing this board';

$txt['board_v_members'] = 'members'; // 43 members
$txt['board_v_member'] = 'member'; // 1 member

$txt['board_v_guests'] = 'guests'; // 26 guests
$txt['board_v_guest'] = 'guest'; // 1 guest

$txt['board_viewers'] = 'viewing'; // 32 viewing
$txt['board_viewer'] = 'viewing'; // 1 viewing

$txt['board_viewers_child'] = 'Viewers'; // Viewers: 145
$txt['board_viewer_child'] = 'Viewer'; // Viewer: 1

// End Of Board Viewers Mod

// Radio
$txt['radio_modname'] = 'Radio';
$txt['permissiongroup_radio'] = $txt['radio_modname'];
$txt['permissionname_radio_view'] = 'To Listen the Radio';
$txt['racdc'] = 'Activate:';
$txt['nstat'] = 'How many stations?';
for ($cnum = 1; $cnum < ((int)$modSettings['nstat'] + 1); $cnum++)
{
$txt['rname'.$cnum.''] = $cnum.'- Name:';
$txt['rip'.$cnum.''] = 'Server:';
$txt['rport'.$cnum.''] = 'Port:';
$txt['rdir'.$cnum.''] = 'Directory (only if required):';
}
$txt['rstats'] = 'SHOUTCast Stats:';
$txt['rvvar'] = 's';
$txt['revar'] = 'We are listening';
$txt['roff'] = 'Disabled.';
$txt['rnfsock'] = 'Your server does NOT support fsockopen (on port) or incorrect configuration.<br /> Please, disable PHP of "SHOUTCast Stats" (for verify).';
$txt['nope'] = 'Sorry, you have NOT permission to listen the Radio.';
$txt['rmen'] = 'user';
$txt['rnum'] = 'of';
$txt['rlist'] = 'listening';
$txt['radmin'] = 'Radio Administration';
$txt['radmd'] = 'Configure and Add your Radio Stations.';
$txt['rconf'] = 'Configuration';
$txt['rstatis'] = 'Stations';
$txt['rnone'] = 'None';
// Radio - End
$txt['arcade'] = 'Arcade';
$txt['arcade_admin'] = 'Arcade Admin';   
$txt['arcade_manage_games'] = 'Games';
$txt['arcade_manage_category'] = 'Categories';
$txt['arcade_settings'] = 'Settings';

// Permission names and help
$txt['permissiongroup_arcade'] = 'Arcade';
$txt['permissionname_arcade_view'] = 'View Arcade';
$txt['permissionhelp_arcade_view'] = 'May access Arcade and use basic features like search and view highscores';
$txt['permissionname_arcade_play'] = 'Play on Arcade';
$txt['permissionhelp_arcade_play'] = 'Allows member to play on arcade, in games which he/she has rights to';
$txt['permissionname_arcade_admin'] = 'Administrate arcade';
$txt['permissionhelp_arcade_admin'] = 'Arcade Administarator can Install/Edit/Delete game, Delete scores and edit settings for arcade';
$txt['permissionname_arcade_view'] = 'View Arcade';
$txt['permissionhelp_arcade_view'] = 'May access Arcade and use basic features like search and view highscores';
$txt['permissionname_arcade_favorite'] = 'Use Favorites feature';
$txt['permissionhelp_arcade_favorite'] = 'Allows member to favorite and unfavorite games';
$txt['permissionname_arcade_submit'] = 'Save scores';
$txt['permissionhelp_arcade_submit'] = 'Allows users to save their scores.';
$txt['permissionname_arcade_rate'] = 'Rate games';
$txt['permissionhelp_arcade_rate'] = 'Allows users to rate games.';
$txt['permissionname_arcade_comment'] = 'Allow to comment/edit comment';
$txt['permissionhelp_arcade_comment'] = 'Allows user to edit comments, own or any';
$txt['permissionname_arcade_comment_any'] = 'Any';
$txt['permissionname_arcade_comment_own'] = 'Own';

// Errors if they can't do something
$txt['cannot_arcade_play'] = 'You are not allowed to play games!';
$txt['cannot_arcade_view'] = 'You are not allowed to access arcade.';
$txt['cannot_arcade_favorite'] = 'You are not allowed to favorite games';
$txt['cannot_arcade_rate'] = 'You are not allowed to rate games';
$txt['cannot_arcade_comment_own'] = 'You are not allowed to comment';

// Who's online
$txt['who_arcade'] = 'Viewing Arcade index';
$txt['who_arcade_play'] = 'Playing <a href="' . $scripturl . '?action=arcade;sa=play;game=%d">%s</a> on Arcade';
$txt['who_arcade_highscore'] = 'Viewing highscores of <a href="' . $scripturl . '?action=arcade;sa=play;game=%d">%s</a> on Arcade';

// Help
$txt['arcade_max_scores_help'] = 'Maximum scores that will be stored per member. (0 means unlimited)';
$txt['arcade_membergroups_help'] = 'These groups will be allowed to play and view highscores. Others will not see this game, only used if permission mode will use game permissions.';?>
//   Pretty URLs mod
$txt['pretty_root_url'] = 'Pretty URLs root URL<div class="smalltext">(Without a final slash)</div>';
//   Pretty URLs mod
$txt['pretty_root_url'] = 'Pretty URLs root URL<div class="smalltext">(Without a final slash)</div>';

http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

Dannii

See the ?> a few lines from the end? Delete it from there and put it at the very end at it will be fixed. You could try reinstalling it too, it should work like that.
"Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise."

Advertisement: