Milestone Congratulations

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in the Customisations Database.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTICE: This forum is only for the announcement of new releases and/or updates of MODs. Any MOD support should be obtained through the Customisations Database in the support area designated for each MOD.

A direct link to support for each MOD is in the first post of the respective topic.
Richazey
Registered User
Posts: 823
Joined: Mon Oct 27, 2008 9:03 pm

Re: Milestone Congratulations

Post by Richazey » Mon Nov 03, 2008 9:06 pm

Done it, last itme i pay for help, great mod working fine :D

Richazey
Registered User
Posts: 823
Joined: Mon Oct 27, 2008 9:03 pm

Re: Milestone Congratulations

Post by Richazey » Mon Nov 03, 2008 10:41 pm

Got a question is there away of getting the milestone bit on the bottom of index page to have a title and under line just like it does on the Statistics???

User avatar
Ricky_Racer
Registered User
Posts: 609
Joined: Wed Feb 12, 2003 10:02 pm

Re: Milestone Congratulations

Post by Ricky_Racer » Mon Nov 03, 2008 11:43 pm

For prosilver based styles.

Code: Select all

#
#-----[ OPEN ]-------------------------------------
#
styles/prosilver/template/index_body.html
#
#-----[ FIND AND DELETE ]--------------------------
#
<br />{MILESTONE_MESSAGE} {MILESTONE_HISTORY} {MILESTONE_INFO}
#
#-----[ FIND ]-------------------------------------
#
<!-- IF NEWEST_USER -->
	<h3>{L_STATISTICS}</h3>
	<p>{TOTAL_POSTS} &bull; {TOTAL_TOPICS} &bull; {TOTAL_USERS} &bull; {NEWEST_USER}</p>
<!-- ENDIF -->
#
#-----[ AFTER, ADD ]-------------------------------
#
	<h3>{L_MILESTONE_TITLE}</h3>
	<p>{MILESTONE_MESSAGE} {MILESTONE_HISTORY} {MILESTONE_INFO}</p>
For subsilver based styles

Code: Select all

#
#-----[ OPEN ]-------------------------------------
#
styles/subsilver2/template/index_body.html
#
#-----[ FIND AND DELETE ]--------------------------
#
<br />{MILESTONE_MESSAGE} {MILESTONE_HISTORY} {MILESTONE_INFO}
#
#-----[ FIND ]-------------------------------------
#
<!-- IF not S_USER_LOGGED_IN -->
#
#-----[ BEFORE, ADD ]------------------------------
#
<br clear="all" />
<table class="tablebg" width="100%" cellspacing="1">
<tr>
	<td class="cat" colspan="2"><h4>{L_MILESTONE_TITLE}</h4></td>
</tr>
<tr>
	<td class="row1"><img src="{T_THEME_PATH}/images/whosonline.gif" alt="{L_MILESTONE_TITLE}" /></td>
	<td class="row1" width="100%" valign="middle"><p class="genmed">{MILESTONE_MESSAGE}  {MILESTONE_HISTORY}  {MILESTONE_INFO}</p></td>
</tr>
</table>

User avatar
MartectX
Translator
Posts: 1324
Joined: Wed Dec 19, 2007 8:05 pm
Location: Marienplatz

Re: Milestone Congratulations

Post by MartectX » Mon Nov 03, 2008 11:44 pm

parkstee wrote:Got a question is there away of getting the milestone bit on the bottom of index page to have a title and under line just like it does on the Statistics???
Yes; if you look at the code in index_body.html you will see that is very easy to make it that way.

Richazey
Registered User
Posts: 823
Joined: Mon Oct 27, 2008 9:03 pm

Re: Milestone Congratulations

Post by Richazey » Mon Nov 03, 2008 11:48 pm

do it looks well fab

you can view it here
http://www.parksteels.co.uk/forum

great mod thanks for help guys :D

Richazey
Registered User
Posts: 823
Joined: Mon Oct 27, 2008 9:03 pm

Re: Milestone Congratulations

Post by Richazey » Tue Nov 04, 2008 2:07 pm

got a question about the mod how often does it updates as i set the user milestone to 50 and today my 50th member registered but not showing it on milestone??

board can be viewed via the link in my signature

User avatar
MartectX
Translator
Posts: 1324
Joined: Wed Dec 19, 2007 8:05 pm
Location: Marienplatz

Re: Milestone Congratulations

Post by MartectX » Tue Nov 04, 2008 3:36 pm

parkstee wrote:got a question about the mod how often does it updates as i set the user milestone to 50 and today my 50th member registered but not showing it on milestone??
Did you set it before the user registered or after the 51st already registered? Did you make the changes to includes/functions.php?

Richazey
Registered User
Posts: 823
Joined: Mon Oct 27, 2008 9:03 pm

Re: Milestone Congratulations

Post by Richazey » Tue Nov 04, 2008 4:10 pm

before i had 46 members when the mod was installed and im not sure about the function.php as someone added but will check and will let you know if its the function.php will it still count the 50th member once its sorted??

User avatar
MartectX
Translator
Posts: 1324
Joined: Wed Dec 19, 2007 8:05 pm
Location: Marienplatz

Re: Milestone Congratulations

Post by MartectX » Tue Nov 04, 2008 4:15 pm

If you did not make the changes to includes/functions.php no milestones checks are made.

Richazey
Registered User
Posts: 823
Joined: Mon Oct 27, 2008 9:03 pm

Re: Milestone Congratulations

Post by Richazey » Tue Nov 04, 2008 4:25 pm

MartectX wrote:If you did not make the changes to includes/functions.php no milestones checks are made.
When i get home i will check all the files and will report back here

Richazey
Registered User
Posts: 823
Joined: Mon Oct 27, 2008 9:03 pm

Re: Milestone Congratulations

Post by Richazey » Tue Nov 04, 2008 5:37 pm

hi just checking this is what it says in the funtions.php, is it correct?

Code: Select all

if (!function_exists('milestones'))
	{
		include($phpbb_root_path . 'includes/functions_milestones.' . $phpEx);
	}
	milestones();

	// The following assigns all _common_ variables that may be used at any point in a template.

Richazey
Registered User
Posts: 823
Joined: Mon Oct 27, 2008 9:03 pm

Re: Milestone Congratulations

Post by Richazey » Tue Nov 04, 2008 10:51 pm

Hi its me again the mod works for posts but not users any ideas why?

User avatar
muggins
Registered User
Posts: 1183
Joined: Fri Feb 22, 2008 5:12 pm
Location: Texas
Name: Donovan
Contact:

Re: Milestone Congratulations

Post by muggins » Wed Nov 05, 2008 12:38 am

MartectX,

I installed this in anticipation on my board's 10,000th post, and it seems to be fine except for the history page.

I am not a programmer, alas, so my debugging skills are poor. I am using a prosilver-based style, Swanky 1.3. Unless I have customized something until it broke, there is a conflict. Here are screenshots, and the html grabbed from the history page.
index_milestone.png
Normal Index
index_milestone.png (196.88 KiB) Viewed 878 times
history_milestone.png
History
history_milestone.png (378.2 KiB) Viewed 867 times

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-gb" xml:lang="en-gb">
<head>

<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="content-language" content="en-gb" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="resource-type" content="document" />
<meta name="distribution" content="global" />
<meta name="copyright" content="2002-2006 phpBB Group" />
<meta name="keywords" content="" />
<meta name="description" content="" />
<title>Sapo's Joint &bull; History</title>

<!--
    phpBB style name: prosilver
    Based on style:   prosilver (this is the default phpBB3 style)
    Original author:  Tom Beddard ( http://www.subBlue.com/ )
    Modified by:      
    
    NOTE: This page was generated by phpBB, the free open-source bulletin board package.
          The phpBB Group is not responsible for the content of this page and forum. For more information
          about phpBB please visit http://www.phpbb.com
-->

 
<script type="text/javascript">
// <![CDATA[
    var jump_page = 'Enter the page number you wish to go to.:';
    var on_page = '';
    var per_page = '';
    var base_url = '';
    var style_cookie = 'phpBBstyle';
    var onload_functions = new Array();
    var onunload_functions = new Array();

/*     */
        if (0)
        {
            var url = './ucp.php?i=pm&mode=popup';
            window.open(url.replace(/&/g, '&'), '_phpbbprivmsg', 'height=225,resizable=yes,scrollbars=yes, width=400');
        }
/*     */

    /**
    * Find a member
    */
    function find_username(url)
    {
        popup(url, 760, 570, '_usersearch');
        return false;
    }

    /**
    * New function for handling multiple calls to window.onload and window.unload by pentapenguin
    */
    window.onload = function()
    {
        for (i = 0; i <= onload_functions.length; i++)
        {
            eval(onload_functions[i]);
        }
    }

    window.onunload = function()
    {
        for (i = 0; i <= onunload_functions.length; i++)
        {
            eval(onunload_functions[i]);
        }
    }

// ]]>
</script>
<script type="text/javascript" src="./styles/Swanky/template/styleswitcher.js"></script>
<script type="text/javascript" src="./styles/Swanky/template/forum_fn.js"></script>

<link href="./styles/Swanky/theme/print.css" rel="stylesheet" type="text/css" media="print" title="printonly" />
<link href="./style.php?sid=somesidnumbershere&id=6&lang=en" rel="stylesheet" type="text/css" media="screen, projection" />

<link href="./styles/Swanky/theme/normal.css" rel="stylesheet" type="text/css" title="A" />
<link href="./styles/Swanky/theme/medium.css" rel="alternate stylesheet" type="text/css" title="A+" />
<link href="./styles/Swanky/theme/large.css" rel="alternate stylesheet" type="text/css" title="A++" />


<script type="text/javascript" src="./static.js"></script>

<script type="text/javascript" src="./styles/Swanky/template/editor.js"></script>
<script type="text/javascript" src="./js.php"></script>


</head>

<body id="phpbb" class="section-milestones ltr">
<div class="outside">
 <div class="top-left"></div><div class="top-center"></div><div class="top-right"></div>
<div class="inside">
 <div class="notopgap">
<div id="wrap">
    <a id="top" name="top" accesskey="t"></a>

    <div id="page-header">
        <div class="headerbar">
            <div class="inner"><span class="corners-top"><span></span></span>

            <div id="site-description">
                <a href="./index.php" title="Board index" id="logo"><img src="./styles/Swanky/imageset/site_logo.png" width="299" height="56" alt="" title="" /></a>
                <p></p>
                <p style="display: none;"><a href="#start_here">Skip to content</a></p>
            </div>

            <span class="corners-bottom"><span></span></span></div>
        </div>

        <div class="navbar">
            <div class="inner"><span class="corners-top"><span></span></span>

            <ul class="linklist navlinks">
                <li class="icon-home"><a href="./index.php" accesskey="h">Board index</a> </li>

                <li class="rightside"><a href="#" onclick="fontsizeup(); return false;" class="fontsize" title="Change font size">Change font size</a></li>

                            </ul>

                        <ul class="linklist leftside">
                <li class="icon-ucp">
<a href="./profile_comments.php?mode=viewall&u=2">Comments </a> (0) &bull; 
            
                    <a href="./ucp.php" title="Control Panel" accesskey="u">Control Panel</a>

                         (<a href="./ucp.php?i=pm&folder=inbox"><strong>0</strong> new messages</a>) &bull; 
                    <a href="./search.php?search_id=egosearch">Your posts</a>
                                    </li>
            </ul>
            
            <ul class="linklist rightside">

                                <li class="icon-ucp"><a href="./uslinks.php" title="Links">Links</a></li>

                <li class="icon-chat"><a href=".//chat/index.php" title="Online: ">Chat [0]</a></li>
                <li class="icon-chat"><a href="./shoutbx.php" title="Shoutbox">Shout</a></li>


<li class="icon-gallery"><a href="./gallery/menu.php" title="Gallery">Gallery</a></li>

                <li class="icon-faq"><a href="./faq.php" title="Frequently Asked Questions">FAQ</a></li>
                <li class="icon-search"><a href="./search.php" title="View the advanced search options">Search</a></li>

                <li class="icon-members"><a href="./memberlist.php" title="View complete list of members">Members</a></li>                    <li class="icon-logout"><a href="./ucp.php?mode=logout&sid=somesidnumbershere" title="Logout [ Sapo ]" accesskey="l">Logout [ Sapo ]</a></li>
                            </ul>

            <span class="corners-bottom"><span></span></span></div>
        </div>

    </div>

    <a name="start_here"></a>

    <div id="page-body">
        
         
<h2>History</h2>

    </tbody>
    </table>
    <span class="corners-bottom"><span></span></span></div>
</div>

<div class="copyright" style="text-align: center; margin-bottom: 5px;"><a href="http://mods.martectx.de/">Milestone Congratulations</a> - &copy;2008, MartectX</div>

</div>

<div id="page-footer">

    <div class="navbar">
        <div class="inner"><span class="corners-top"><span></span></span>
        <ul class="linklist">
            <li class="leftside">    <strong>Visit counter:</strong>&nbsp;</li>
            <li class="leftside"><table cellpadding="0" cellspacing="0" border="0"><tr align="center">

<td class="counter"><img src="./images/counter/digits/0.gif" width="10" height="13" alt="" /></td>
<td class="counter"><img src="./images/counter/digits/3.gif" width="10" height="13" alt="" /></td>
<td class="counter"><img src="./images/counter/digits/4.gif" width="10" height="13" alt="" /></td>
<td class="counter"><img src="./images/counter/digits/9.gif" width="10" height="13" alt="" /></td>
<td class="counter"><img src="./images/counter/digits/5.gif" width="10" height="13" alt="" /></td>
<td class="counter"><img src="./images/counter/digits_ani/6.gif" width="10" height="13" alt="" /></td>
</tr></table>
                    </li>
                <li class="rightside">Counted from 01/04/2008 8:11 pm&nbsp;&bull; [IP Tracking On]    
            </li>
        </ul>

        <ul class="linklist">
            <li class="icon-home"><a href="./index.php" accesskey="h">Board index</a></li>
                            <li class="rightside"><a href="./memberlist.php?mode=leaders">The team</a> &bull; <a href="./ucp.php?mode=delete_cookies">Delete all board cookies</a> &bull; All times are UTC - 6 hours </li>
        </ul>
        
        <span class="corners-bottom"><span></span></span></div>

    </div>
    
<!--
    We request you retain the full copyright notice below including the link to www.phpbb.com.
    This not only gives respect to the large amount of time given freely by the developers
    but also helps build interest, traffic and use of phpBB3. If you (honestly) cannot retain
    the full copyright we ask you at least leave in place the "Powered by phpBB" line, with
    "phpBB" linked to www.phpbb.com. If you refuse to include even this then support on our
    forums may be affected.
    The phpBB Group : 2006
//-->

    <div class="copyright">Powered by <a href="http://www.phpbb.com/">phpBB</a> &copy; 2000, 2002, 2005, 2007 phpBB Group
    <br />Rank Images by <a href="http://www.forumimages.com/">Forum Images</a> &copy; 2002 Darren Burnhill
        <br /><strong><a href="./adm/index.php?sid=somesidnumbershere">Administration Control Panel</a></strong>    </div>

</div>

</div>

<div>
    <a id="bottom" name="bottom" accesskey="z"></a>
        </div>
    </div>
<div class="nobottomgap"></div>
 </div>
<div class="bottom-left"></div><div class="bottom-center"></div><div class="bottom-right">
</div>
</div>

</body>
</html>
I hope someone can spot my error. :?
Muggins

User avatar
MartectX
Translator
Posts: 1324
Joined: Wed Dec 19, 2007 8:05 pm
Location: Marienplatz

Re: Milestone Congratulations

Post by MartectX » Wed Nov 05, 2008 2:16 pm

muggins wrote:I hope someone can spot my error. :?
Did you enter the ACP module at least once? Please check your database for a phpbb_milestones table!

Richazey
Registered User
Posts: 823
Joined: Mon Oct 27, 2008 9:03 pm

Re: Milestone Congratulations

Post by Richazey » Wed Nov 05, 2008 2:23 pm

MartectX

The mod is working for posts but not the user what do you suggest please?

Locked

Return to “[3.0.x] MOD Database Releases”

Who is online

Users browsing this forum: No registered users and 10 guests