DWho [ Mon 16 Feb, 2009 21:36 ] Post subject: Re: User Block Mod
I have this working on my site.... did you copy all the code over...
and set it to the about column
and you copied the code for the php block code as well as the tpl code.... 2 files
n1cks21 [ Mon 16 Feb, 2009 23:58 ] Post subject: Re: User Block Mod
school boy error
yes it works fine now I have changed it to the about column, which you stated in your last post
Thank you soooooo much, you are the man, what a cracking xbox360 mod, one question though what are the chances of getting the text info underneath the avatar as shown on the pic below or am I pushing my luck and I should be happy with what I have got hehehehehehehehehehe
Eitherway I would like to thank everyone who has helped.........
DWho [ Tue 17 Feb, 2009 00:32 ] Post subject: Re: User Block Mod
Glad you got it sorted... I will post the modification in a new post so others can download the zip
where did you get the other info from then I can add it..
n1cks21 [ Tue 17 Feb, 2009 00:52 ] Post subject: Re: User Block Mod
I seem to have this problem now, sorry only just noticed it :-
the picture that is trying to be displayed os the avatar pic
<?php
/***************************************************************************
* blocks_imp_user_block.php
* -------------------
* begin : Saturday, March 20, 2004
* copyright : (C) 2004 masterdavid - Ronald John David
* website : http://www.integramod.com
* email :
*
* note: removing the original copyright is illegal even you have modified
* the code. Just append yours if you have modified it.
***************************************************************************/
/***************************************************************************
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
***************************************************************************/
if ( !defined('IN_PHPBB') )
{
die('Hacking attempt');
}
if(!function_exists(imp_user_block_block_func))
{
function imp_user_block_block_func()
{
global $userdata, $template, $board_config, $name, $lang, $db, $phpEx;
include_once($phpbb_root_path . 'includes/functions_groups.' . $phpEx);
/*if( $userdata['session_logged_in'] )
{
$sql = "SELECT COUNT(post_id) as total
FROM " . POSTS_TABLE . "
WHERE post_time >= " . $userdata['user_lastvisit'] . " AND poster_id <> " . $userdata['user_id'] . " AND post_time < " . time();
$result = $db->sql_query($sql);
if( $result )
{
$row = $db->sql_fetchrow($result);
$lang['Search_new'] = $lang['Search_new'] . " (" . $row['total'] . ")";
}
}*/
bgcolor="#081838" and changed this to the colour I wanted.
result is:-
DWho [ Sun 22 Feb, 2009 13:41 ] Post subject: Re: SOLVED - User Block Mod
Nice one and thanks for posting the fix....
n1cks21 [ Mon 23 Feb, 2009 15:48 ] Post subject: Re: SOLVED - User Block Mod
no worries, there was propbably a better way, but it works for me
thanks again.............
n1cks21 [ Sun 13 Sep, 2009 11:23 ] Post subject: Re: SOLVED - User Block Mod
Hi all the above mod is fantastic and works a treat on my site however it's time to move to 1.3.0.53 and I wondered how hard it would be to update the above mod to work on the new version ????
cheers
Nick
Lopalong [ Sun 13 Sep, 2009 14:00 ] Post subject: Re: SOLVED - User Block Mod
I shouldn't think it would be any problem - But did you check that DWho hasn't already done it and has it available on his site - Before you asked the question?
I also find it annoying that users suggest such things as "I will upgrade to 53 etc, so long as this MOD is available"
You upgrade - Then I'll sure Mike will (if necessary) upgrade the MOD - WHEN HE FINDS THE TIME!
n1cks21 [ Sun 13 Sep, 2009 14:31 ] Post subject: Re: SOLVED - User Block Mod
I shouldn't think it would be any problem - But did you check that DWho hasn't already done it and has it available on his site - Before you asked the question?
I also find it annoying that users suggest such things as "I will upgrade to 53 etc, so long as this MOD is available"
You upgrade - Then I'll sure Mike will (if necessary) upgrade the MOD - WHEN HE FINDS THE TIME!
yeah I did have a look on DWho site, I didnt see it so I posted the question on here..... I would also like to avoid downtime as well, so it only makes sense to upgrade and install the mods at the same time, I have installed the new software on the test area of my server, I now want to add the mods so I know everything works before I go live. I have already installed 2 of your fantastic mods (Security Question and Urls) and all I think is left is the above mod as well as the 80% mod.
I always give praise to you guys as I think you all do a fantastic job, my site has had lots of positive feedback and I owe that to you guys..... so I am sorry if I offended or annoyed you....
Lopalong [ Sun 13 Sep, 2009 14:41 ] Post subject: Re: SOLVED - User Block Mod
Then it would be appropriate for you to register at Mike's site and ask him if he would consider checking the MOD and upgrading it (if necessary) when he gets the time. Because pushing the issue ain't going to win you any friends.
MODS take a lot of work my friend - So does upgrading existing ones to IP v1.3* - And, you haven't even tested what you've got yet, (Even on localhost - which you should have) so you don't even know if it doesn't work.
n1cks21 [ Sun 13 Sep, 2009 14:54 ] Post subject: Re: SOLVED - User Block Mod
my bad, I wrongly assumed that all previous mods wouldnt work on the new version. I will put my current mods on the new version and see what happens.
thanks for the info and sorry for wssting your time............