[ABD][RC1] Lo-Fi Mod 1.0.0

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment! No new topics are allowed in this forum.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: MOD Development Forum rules

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
martijn2
Registered User
Posts: 80
Joined: Mon Jul 18, 2005 7:10 am
Location: The Netherlands
Contact:

Post by martijn2 »

How is development going? (I'm really curious ;))
Bicet
Registered User
Posts: 58
Joined: Mon Nov 15, 2004 6:52 am
Location: IperUranium
Contact:

Post by Bicet »

At the moment I'm testing all admin options.
Latest Mods:
[ Lo-Fi Mod 1.0.0 rc1 | phpBB XS 2 ]
martijn2
Registered User
Posts: 80
Joined: Mon Jul 18, 2005 7:10 am
Location: The Netherlands
Contact:

Post by martijn2 »

Nice :)
danb00
Registered User
Posts: 1025
Joined: Sun Dec 15, 2002 9:41 pm
Location: Inside Mod:Extreme PHPBB
Contact:

Post by danb00 »

would love to see an addon for subforums mod
phpBBModded.com - Modding phpBB
r_maddy
Registered User
Posts: 2
Joined: Tue Feb 07, 2006 2:39 pm

enable to view Lo-Fi Mod link in the bottom

Post by r_maddy »

Can any one help me i m getting problem :( I updated the code as mention in the install.txt and i have to edit 11 files which i updated and also replace the files at root and also in admin, templetes folder mention in the install.txt...........

now problem is that i wont be able to view the link Lo-Fi Mod in the bottom can any one let me know whats problem i will be so kind.
User avatar
onigumo
Registered User
Posts: 1755
Joined: Fri Oct 31, 2003 2:32 am
Contact:

Post by onigumo »

I'm using Boyz as the default template on my forum. Near the top of the forum is a big grey bar. I was wondering if it's possible to put the "Lo-Fi Version" link in that bar without putting the other links out of place. Also, the other links are aligned left, but I was wondering if it's possible to align "Lo-Fi Version" to the right. I already inserted the code that should go in page_tail in page_header instead.

The following is the relevant code from Boyz' overall_header:

Code: Select all

<TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0>
<TR>
<TD width="508"><a href="{U_INDEX}"><IMG SRC="templates/Boyz/images/Boyz_logo.jpg" WIDTH=508 HEIGHT=89 ALT="{L_INDEX}" border="0"></a></TD>
<TD background="templates/Boyz/images/Boyz_topback.jpg">&nbsp;</TD>
</TR>
</TABLE>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top" background="templates/Boyz/images/Boyz_nav_back.jpg">&nbsp;<span class="mainmenu">&nbsp;<a href="{U_FAQ}" class="mainmenu">{L_FAQ}</a>&nbsp; &nbsp;<a href="{U_SEARCH}" class="mainmenu">{L_SEARCH}</a>&nbsp; &nbsp;<a href="{U_GROUP_CP}" class="mainmenu">{L_USERGROUPS}</a>&nbsp; 
<!-- BEGIN switch_user_logged_out -->
&nbsp;<a href="{U_REGISTER}" class="mainmenu">{L_REGISTER}</a>&nbsp;
<!-- END switch_user_logged_out -->
<!-- BEGIN switch_user_logged_in -->
&nbsp;<a href="{U_PROFILE}" class="mainmenu">{L_PROFILE}</a>&nbsp; &nbsp;<a href="{U_PRIVATEMSGS}" class="mainmenu">{PRIVATE_MESSAGE_INFO}</a>&nbsp; 
<!-- END switch_user_logged_in -->
&nbsp;<a href="{U_LOGIN_LOGOUT}" class="mainmenu">{L_LOGIN_LOGOUT}</a>&nbsp;</span></td>
<td width="50" background="templates/Boyz/images/Boyz_nav_back.jpg"><img src="templates/Boyz/images/spacer.gif" alt="" height="32" width="1" border="0"></td>
</tr>
</table>
I'm also wondering if, after clicking to view the low-fi version, the menu items as they are listed can be customized. For instance, "Profile", "Log in to view your private messages", etc. I only want certain items for guests. I also want to have a seperate set for logged in users. Lastly, within low-fi view, can a "Low-Fi Version" link be placed at the top end of the page?
I write articles on community building
@ The Infinity Program.
martijn2
Registered User
Posts: 80
Joined: Mon Jul 18, 2005 7:10 am
Location: The Netherlands
Contact:

Post by martijn2 »

Any more news on this mod?
Bicet
Registered User
Posts: 58
Joined: Mon Nov 15, 2004 6:52 am
Location: IperUranium
Contact:

Post by Bicet »

The Lo-Fi is not appearing because you didn't add it to all templates...


The mod is pretty stable at the moment, if I can have more feed-back on it I think that I can submit it to moddb...
Latest Mods:
[ Lo-Fi Mod 1.0.0 rc1 | phpBB XS 2 ]
User avatar
shirleycaat
Registered User
Posts: 186
Joined: Mon Apr 07, 2003 1:11 am

Post by shirleycaat »

Bicet wrote: The mod it's compatible with old version (2.04/2.05) of CH not with the newer.

Q1: I'm using an old version 2.0.* , but can not see any subforums.
What should I do?


Q2: How to modify other pages to lo-fi version?
For example, I have recent mod installed, I want a lo-fi version of recent.php, how can I do it?


Thanks!
MrC
Registered User
Posts: 857
Joined: Mon Jun 30, 2003 4:11 pm
Location: The Netherlands
Name: Ivo
Contact:

Post by MrC »

Hi,

Can anybody help me with this part?
It's in viewtopic.php

Code: Select all

#
#-----[ FIND ]------------------------------------------
#
if ( $is_auth['auth_mod'] )
{
	$s_auth_can .= sprintf($lang['Rules_moderate'], "<a href=\"modcp.$phpEx?" . POST_FORUM_URL . "=$forum_id&sid=" . $userdata['session_id'] . '">', '</a>');

	$topic_mod .= "<a href=\"modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=delete&sid=" . $userdata['session_id'] . '"><img src="' . $images['topic_mod_delete'] . '" alt="' . $lang['Delete_topic'] . '" title="' . $lang['Delete_topic'] . '" border="0" /></a>&nbsp;';

	$topic_mod .= "<a href=\"modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=move&sid=" . $userdata['session_id'] . '"><img src="' . $images['topic_mod_move'] . '" alt="' . $lang['Move_topic'] . '" title="' . $lang['Move_topic'] . '" border="0" /></a>&nbsp;';

	$topic_mod .= ( $forum_topic_data['topic_status'] == TOPIC_UNLOCKED ) ? "<a href=\"modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=lock&sid=" . $userdata['session_id'] . '"><img src="' . $images['topic_mod_lock'] . '" alt="' . $lang['Lock_topic'] . '" title="' . $lang['Lock_topic'] . '" border="0" /></a>&nbsp;' : "<a href=\"modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=unlock&sid=" . $userdata['session_id'] . '"><img src="' . $images['topic_mod_unlock'] . '" alt="' . $lang['Unlock_topic'] . '" title="' . $lang['Unlock_topic'] . '" border="0" /></a>&nbsp;';

	$topic_mod .= "<a href=\"modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=split&sid=" . $userdata['session_id'] . '"><img src="' . $images['topic_mod_split'] . '" alt="' . $lang['Split_topic'] . '" title="' . $lang['Split_topic'] . '" border="0" /></a>&nbsp;';
}
#
#-----[ REPLACE WITH ]------------------------------------------
#
//Begin Lo-Fi Mod
if ( $is_auth['auth_mod'] )
{
	$s_auth_can .= sprintf($lang['Rules_moderate'], "<a href=\"modcp.$phpEx?" . POST_FORUM_URL . "=$forum_id&sid=" . $userdata['session_id'] . '">', '</a>');
	if ($lofi)
	{
		$topic_mod .= "<a href=\"modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=delete&sid=" . $userdata['session_id'] . '" title="' . $lang['Delete_topic'] . '">' . $lang['Delete_topic'] . '</a>&nbsp;::&nbsp;';
		
		$topic_mod .= "<a href=\"modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=move&sid=" . $userdata['session_id'] . '" title="' . $lang['Move_topic'] . '">' . $lang['Move_topic'] . '</a>&nbsp;<br />';
	
		$topic_mod .= ( $forum_topic_data['topic_status'] == TOPIC_UNLOCKED ) ? "<a href=\"modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=lock&sid=" . $userdata['session_id'] . '" title="' . $lang['Lock_topic'] . '">' . $lang['Lock_topic'] . '</a>&nbsp;::&nbsp;' : "<a href=\"modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=unlock&sid=" . $userdata['session_id'] . '" title="' . $lang['Unlock_topic'] . '">' . $lang['Unlock_topic'] . '</a>&nbsp;::&nbsp;';
	
		$topic_mod .= "<a href=\"modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=split&sid=" . $userdata['session_id'] . '" title="' . $lang['Split_topic'] . '">' . $lang['Split_topic'] . '</a>&nbsp;';

	}
	else
	{
		$topic_mod .= "<a href=\"modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=delete&sid=" . $userdata['session_id'] . '" ><img src="' . $images['topic_mod_delete'] . '" alt="' . $lang['Delete_topic'] . '" title="' . $lang['Delete_topic'] . '" border="0" /></a>&nbsp;';
		
		$topic_mod .= "<a href=\"modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=move&sid=" . $userdata['session_id'] . '"><img src="' . $images['topic_mod_move'] . '" alt="' . $lang['Move_topic'] . '" title="' . $lang['Move_topic'] . '" border="0" /></a>&nbsp;';
	
		$topic_mod .= ( $forum_topic_data['topic_status'] == TOPIC_UNLOCKED ) ? "<a href=\"modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=lock&sid=" . $userdata['session_id'] . '"><img src="' . $images['topic_mod_lock'] . '" alt="' . $lang['Lock_topic'] . '" title="' . $lang['Lock_topic'] . '" border="0" /></a>&nbsp;' : "<a href=\"modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=unlock&sid=" . $userdata['session_id'] . '"><img src="' . $images['topic_mod_unlock'] . '" alt="' . $lang['Unlock_topic'] . '" title="' . $lang['Unlock_topic'] . '" border="0" /></a>&nbsp;';
	
		$topic_mod .= "<a href=\"modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=split&sid=" . $userdata['session_id'] . '"><img src="' . $images['topic_mod_split'] . '" alt="' . $lang['Split_topic'] . '" title="' . $lang['Split_topic'] . '" border="0" /></a>&nbsp;';

	}
}
//End Lo-Fi Mod
I have the follwing code

Code: Select all

if ( $is_auth['auth_mod'] )
{
	$s_auth_can .= sprintf($lang['Rules_moderate'], "<a href=modcp.$phpEx?" . POST_FORUM_URL . "=$forum_id&sid=" . $userdata['session_id'] . '>', '</a>');

	$topic_mod .= "<a href=\"modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=delete&sid=" . $userdata['session_id'] . '"><img src="' . $images['topic_mod_delete'] . '" alt="' . $lang['Delete_topic'] . '" title="' . $lang['Delete_topic'] . '" border="0" /></a>&nbsp;';

	$topic_mod .= ( $forum_topic_data['topic_type'] != 1 ) ? "<a href=\"modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=sticky&sid=" . $userdata['session_id'] . '"><img src="' . $images['topic_mod_sticky'] . '" alt="' . $lang['Sticky_topic'] . '" title="' . $lang['Sticky_topic'] . '" border="0" /></a>&nbsp;' : "<a href=\"modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=unsticky&sid=" . $userdata['session_id'] . '"><img src="' . $images['topic_mod_unsticky'] . '" alt="' . $lang['Unsticky_topic'] . '" title="' . $lang['Unsticky_topic'] . '" border="0" /></a>&nbsp;';

	$topic_mod .= ( $forum_topic_data['topic_type'] != 2 ) ? "<a href=\"modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=announce&sid=" . $userdata['session_id'] . '"><img src="' . $images['topic_mod_announce'] . '" alt="' . $lang['Announce_topic'] . '" title="' . $lang['Announce_topic'] . '" border="0" /></a>&nbsp;' : "<a href=\"modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=unannounce&sid=" . $userdata['session_id'] . '"><img src="' . $images['topic_mod_unannounce'] . '" alt="' . $lang['Unannounce_topic'] . '" title="' . $lang['Unannounce_topic'] . '" border="0" /></a>&nbsp;';

	$topic_mod .= "<a href=\"modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=move&sid=" . $userdata['session_id'] . '"><img src="' . $images['topic_mod_move'] . '" alt="' . $lang['Move_topic'] . '" title="' . $lang['Move_topic'] . '" border="0" /></a>&nbsp;';

	$topic_mod .= ( $forum_topic_data['topic_status'] == TOPIC_UNLOCKED ) ? "<a href=\"modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=lock&sid=" . $userdata['session_id'] . '"><img src="' . $images['topic_mod_lock'] . '" alt="' . $lang['Lock_topic'] . '" title="' . $lang['Lock_topic'] . '" border="0" /></a>&nbsp;' : "<a href=\"modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=unlock&sid=" . $userdata['session_id'] . '"><img src="' . $images['topic_mod_unlock'] . '" alt="' . $lang['Unlock_topic'] . '" title="' . $lang['Unlock_topic'] . '" border="0" /></a>&nbsp;';

	$topic_mod .= "<a href=\"modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=split&sid=" . $userdata['session_id'] . '"><img src="' . $images['topic_mod_split'] . '" alt="' . $lang['Split_topic'] . '" title="' . $lang['Split_topic'] . '" border="0" /></a>&nbsp;';
}
TIA
User avatar
shirleycaat
Registered User
Posts: 186
Joined: Mon Apr 07, 2003 1:11 am

Post by shirleycaat »

any news?
mustaq
Registered User
Posts: 16
Joined: Thu Nov 03, 2005 9:07 am

Post by mustaq »

i find from manual that
It requires eXtreme Styles Mod 2.2.1 ( you can grab it here: http://www.phpbbstyles.com/viewtopic.php?t=356 )


is important will this affect my other hack which i installed or i willchage the look of my forum ?
User avatar
igorw
Former Team Member
Posts: 8024
Joined: Fri Dec 16, 2005 12:23 pm
Location: {postrow.POSTER_FROM}
Name: Igor Wiedler

Post by igorw »

mustaq wrote: i find from manual that
It requires eXtreme Styles Mod 2.2.1 ( you can grab it here: http://www.phpbbstyles.com/viewtopic.php?t=356 )


is important will this affect my other hack which i installed or i willchage the look of my forum ?


eXtreme styles won't change your look at all ;)
Igor Wiedler | area51 | GitHub | trashbin | Formerly known as evil less than three
User avatar
-jm-
Former Team Member
Posts: 2025
Joined: Fri Jul 16, 2004 10:56 am
Location: Inside the mind of the machine
Contact:

Post by -jm- »

danb00 wrote: would love to see an addon for subforums mod

apply instructions for subforum MOD template files to the proper template files added by this MOD ;)
-jm- (a.k.a. juanm) - *NO* private support
Hacked?
With so many beautiful colors in the world it’s a shame to make everything black and white - Dennis R. Little
my links: tips&stuff :: stuff only
Xusqui
Registered User
Posts: 84
Joined: Wed Jun 02, 2004 10:35 pm
Contact:

Post by Xusqui »

mmm... Download doesn't work :(

Critical error: could not connect to database.

Could anyone provide a download link??? Or PM me to send via e-mail?

Thnx in advance
Locked

Return to “[2.0.x] MODs in Development”