News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Pages Mod

Started by 2by2host, September 15, 2008, 03:55:43 PM

Previous topic - Next topic

2by2host

Link to Mod

This mod gives you the ability to create/edit/remove additional pages on your forum. After the installation of this mod you will see the "Page Management" section in the control panel. After you create a new page the link to it will be added to the forum's main menu. By editing the pages you can publish or hide any page, change permissions to make it viewable by any groups or limit who can view it based on the number of posts which you would specify. You can also, sort the pages in the menu in the desired order.

Enjoy =)

Version 1.1 September 24, 2008
   - Added Russian and Turkish (Thanks to TiReDsOuL) languages

Version 1.0 July 10, 2008
   - Release

To get faster support for this module please use this support forum at 2by2host.

islam2hamy

looks good , thank you.

Arabic Translator - Web Designer
My Mods / My Themes  //  GfxLand





damnitmike


edi67

seem to be one great mod , i cannot wait for view this working in smf 2.0 i hope soon
CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

TiReDsOuL

#4
thanks for mod .ı translated to turkish


Themes\default\languages\Pages.turkish.php
<?php
$txt
['page_management' 'Sayfa yönetimi';
$txt['page_management_title' 'Sayfa yönetim eklentisi';
$txt['page_management_desc' 'Foruma yeni sayfa ekleyebilir,düzenleyebilir veya sayfaları kaldırabilirsin.';
$txt['page_management_main' 'Sayfaları Yönet';
$txt['page_management_add' 'Sayfa ekle';
$txt['page_management_add_title' 'Yeni sayfa ekle';
$txt['page_management_table_name' 'İsim';
$txt['page_management_table_act' 'Eylemler';
$txt['page_management_page_addnew' 'Yeni sayfa ekle';
$txt['page_management_edit_title' 'Sayfayı düzenle';
$txt['page_management_table_info'] 'Bilgi';
$txt['page_management_table_sort'] 'Sırala';

$txt['page_management_form_name' 'Sayfa buton adı';
$txt['page_management_form_title' 'Sayfa başlığı';
$txt['page_management_form_metak' 'Anahtar kelimeler';
$txt['page_management_form_metad' 'Meta tanımlaması';
$txt['page_management_form_content' 'Sayfa içeriği';
$txt['page_management_form_publicate' 'Yayınla';
$txt['page_management_form_addbtn' 'Ekle';
$txt['page_management_form_savebtn' 'Kaydet';
$txt['page_management_form_permissions']= 'İzinler';
$txt['page_req_posts_form_permissions'] = 'Gerekli mesaj';

$txt['page_management_btn_edit' 'Düzenle';
$txt['page_management_btn_del' 'Sil';
$txt['page_management_btn_pub' 'Aktifleştir';
$txt['page_management_btn_unpub' 'Pasifleştir';
$txt['page_management_btn_save_sort'] 'Sıralamayı kaydet';

$txt['page_management_msg_deleted' 'Sayfa başarıyla silindi!';
$txt['page_management_msg_saved' 'Sayfa başarıyla kaydedildi!';
$txt['page_management_msg_added' 'sayfa başarıyla eklendi!';
$txt['page_management_msg_sorted'] 'Sayfalar başarıyla sıralandı!';
$txt['page_management_delete_confirm'] 'Bu sayfayı silmek istediğinizden eminmisiniz?';

$txt['page_management_gname_unreg'] 'Ziyaretçiler';
$txt['page_management_gname_newreg'] 'Normal Üyeler';

$txt['page_management_error'] 'Bu sayfayı görmeye yetkiniz yok.';
?>

smfthemes.org --language moderator
Özel mesajla yardım istemeyin artık okumuyorum bile..
Do NOT PM me for support unless I invite you, I will ignore you.
--------------------------------------
Uzun bir süre yok....

Sabre™

This sounds good!
Ive added close to 5 pages to my site, and this mod sounds like it'll speed up the process.

Does anyone have a link to see how this works?
Or images etc??

Thank You in advance  :)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)



Sabre™

Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)




Cal O'Shaw

I'm sorry if I seem a little dense here, but where exactly will these pages appear on Index.php?  As buttons, such as "Profile" and "My Messages"?

The images you've included have helped understand it a bit better, but a shot of what a page looks like and where it is called from would be very helpful.  I can see a lot of uses for such a MOD, such as FAQs, Links, Staff Pages, etc.

In the shot of the Admin Control Panel, you have a checkbox called "Publicate".  I suspect the words you may wish to use there are "Publish" or "Enable Pages".

Thank you for creating this MOD and supporting it.

Cal

Cal O'Shaw

I noticed the screen captures are gone, and there is no link to a demo site.

Sabre™

Quote from: Cal O'Shaw on September 23, 2008, 12:25:15 AM
I noticed the screen captures are gone...

hahhaaa  right when I come to check up too!
Just my luck.
Whats goin on 2by2host?
Can we have screenies and a demo site to see for ourselves please?

ThankYou in advance :)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


DirtRider

All it seem to do for me is separate the sticky topics from the normal topics with a bar across the page saying " Regular topics". No sticky appears on the second page  ???
http://www.triumphtalk.com

"The real question is not whether machines think but whether men do. "

Rafferty

Mine failed package install due to an error in index.template.php

I note also that there is no manual install, parsers reporting invalid info.xml

Any thoughts? This seems to be very useful and I would like to get it installed
Don't Follow me I got No Idea what I'm Doing

Cal O'Shaw

Ah, thank you, there are now screen shots and now it can be seen this adds buttons on the top menu. 

Makes this a very, very useful MOD.

Grazie

Ravac

#16
Pages.serbian-utf8.php (Latinic)

Serbian translate is Attached in post  :D

Sabre™

Hell yeah!
Very nice mod.
I will be adding this through the weekend. It is something I have always needed, and my sloppy custom pages will now ave permissions! lol

Thank You mate :)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


Cal O'Shaw

Ran into a problem.

The pages create just fine. 

The content is hidden as defined by the permissions.

The button appears anyway, seen by everyone.  Clicking on it shows nothing but the expanded copyright.

BIG problem if the button says something like "Sysop Notes".

Could you look at having the buttons match the permissions of the pages?

Grazie

Cal

TroyG

I am getting this message when I try and install it.

1. Execute Code install.php 
2. Execute Modification ./index.php Test successful
3. Execute Modification ./Sources/Subs.php Test successful
4. Execute Modification ./Themes/default/index.template.php Test failed
5. Extract File ./Sources/Pages.php 
6. Extract File ./Sources/LoadPages.php 
7. Extract File ./Themes/default/Pages.template.php 
8. Extract File ./Themes/default/languages/Pages.english.php 
9. Extract File ./Themes/default/languages/Pages.turkish.php 
10. Extract File ./Themes/default/languages/Pages.russian.php

Any ideas?????????????????????????

Advertisement: