vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Activity Modification (https://vborg.vbsupport.ru/showthread.php?t=93831)

AndyA 11-24-2005 02:47 PM

I'm unsure of how how to do this but my Activity graphs are shown in different positions due to the length of text in my members location details (see attached). How can I get the graphs to appear on the right below the location details ?

Is this meant to do what I wan't ?

Code:

=====  in template postbit (for the default 2nd column appearance)  to put the activity info above your IM icons and reputation in your horizontal postbit, use    the postbit_legacy modifications on your postbit template instead of the ones below.
I'm not really sure what steps to take, can someone explain this to me ?

Many thanks.

WetWired 11-24-2005 02:47 PM

Quote:

Originally Posted by AndyA
Correction, I've now followed the instruction's. Now how do I remove the extra rank details please ?

Remove $WWU002_ranktext from the templates.

Quote:

Originally Posted by AndyA
I'm unsure of how how to do this but my Activity graphs are shown in different positions due to the length of text in my members location details (see attached). How can I get the graphs to appear on the right below the location details ?

Is this meant to do what I wan't ?

Code:

=====  in template postbit (for the default 2nd column appearance)  to put the activity info above your IM icons and reputation in your horizontal postbit, use    the postbit_legacy modifications on your postbit template instead of the ones below.
I'm not really sure what steps to take, can someone explain this to me ?

Many thanks.

Yes, like the install instructions say, if you want the activity stuff with the location, reputation, and such, then you should use the postbit_legacy modifications on the postbit template.

WetWired 11-24-2005 02:56 PM

I would really like to fix this mod to play well with vBAdvanced Gallery, but I need someone with vBAdvanced Gallery to help me out. Disable the mod, follow the instructions in this post:
https://vborg.vbsupport.ru/showpost.php?p=818581
Then reenable the mod. Whether or not you've done the work arround won't effect this.

AndyA 11-24-2005 03:01 PM

Just to confirm, I should use the following code on the Postbit template and undo the changes I've already made ?

Code:

******************  images version templates    =====  in template postbit_legacy    find  -----                                  <if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>  -----  above it, insert  -----          <div class="smallfont"><strong>$WWU002_ranktext</strong></div>  -----    find  -----                                          <if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>  -----  replace it with  -----    <table class="WWU002postbit" cellspacing="2" cellpadding="0">      <tr>        <td><img src="$stylevar[imgdir_misc]/activity/textactivity.gif" /></td>        <td><img src="$stylevar[imgdir_misc]/activity/textlongevity.gif" /></td>      </tr>      <tr>        <td title="$WWU002_activityinfo"><img src="$stylevar[imgdir_misc]/activity/activity$WWU002_activitylevel.gif" class="i" /></td>        <td title="$WWU002_longevityinfo"><img src="$stylevar[imgdir_misc]/activity/long$WWU002_longevitylevel.gif" class="i" /></td>      </tr>      <tr>        <td><img src="$stylevar[imgdir_misc]/activity/texttoday.gif" /></td>        <td><img src="$stylevar[imgdir_misc]/activity/textposts.gif" /></td>      </tr>      <tr>        <td title="$WWU002_todayinfo"><img src="$stylevar[imgdir_misc]/activity/today{$WWU002_todaylevel}_$WWU002_maxtodaylevel.gif" class="i" /></td>        <td dir="ltr"><img src="$stylevar[imgdir_misc]/activity/posts$WWU002_postsd[1].gif" class="il" /><img src="$stylevar[imgdir_misc]/activity/posts$WWU002_postsd[2].gif" class="im" /><img src="$stylevar[imgdir_misc]/activity/posts$WWU002_postsd[3].gif" class="im" /><img src="$stylevar[imgdir_misc]/activity/posts$WWU002_postsd[4].gif" class="im" /><img src="$stylevar[imgdir_misc]/activity/posts$WWU002_postsd[5].gif" class="im" /><img src="$stylevar[imgdir_misc]/activity/posts$WWU002_postsd[6].gif" class="im" /><img src="$stylevar[imgdir_misc]/activity/posts$WWU002_postsd[7].gif" class="im" /><img src="$stylevar[imgdir_misc]/activity/posts$WWU002_postsd[8].gif" class="im" /><img src="$stylevar[imgdir_misc]/activity/posts$WWU002_postsd[9].gif" class="ir" /></td>      </tr>    </table>  -----    find and remove  -----                                  <div>                                          $vbphrase[posts]: $post[posts]                                  </div>  -----

AndyA 11-24-2005 03:27 PM

Got it sorted now thanks.

djjeffa 11-25-2005 10:59 PM

I did a lil work with this hack but im a bad coder I was wondering if someone could tell me how to change the fonts to make them match and maybe extent the gray box all the way acroos here is how it looks right now.

cbr929rrerion 11-25-2005 11:48 PM

I sent you an email with the text in it.. Let me know if you need anything else.. or if I did something wrong let me know...

referring to vbgallery that is.. I will be your tester...

WetWired 11-26-2005 12:45 AM

Quote:

Originally Posted by cbr929rrerion
I sent you an email with the text in it.. Let me know if you need anything else.. or if I did something wrong let me know...

referring to vbgallery that is.. I will be your tester...

And you turned the activity hack off before you viewed this page and copied the source?

WetWired 11-26-2005 12:46 AM

Quote:

Originally Posted by djjeffa
I did a lil work with this hack but im a bad coder I was wondering if someone could tell me how to change the fonts to make them match and maybe extent the gray box all the way acroos here is how it looks right now.

Template source would be helpfull.

cbr929rrerion 11-26-2005 12:51 AM

Quote:

Originally Posted by WetWired
And you turned the activity hack off before you viewed this page and copied the source?

yes..

I disabled the activity hack, installed the other one.. then viewd source and then disabled the 2nd one and turned activity back on..

No I can say when I went to the gallery all functions as normal but when I forgot to disable the 2nd one you said to install I tried to view a thread and it said something about cookies etc.. but it did not do that in the gallery..

Gallery location is root/gallery/ if that matters...

cbr929rrerion 11-26-2005 12:55 AM

when attempting to go to normal thread on forum with the debug I get this..

Unable to add cookies, header already sent.
File: /hsphere/local/home/crotchro/crotchrocketracing.com/includes/class_postbit.php(251) : eval()'d code
Line: 44

when I go to gallery it loads as normal and view source is the file I sent ya...

Swear...

djjeffa 11-26-2005 01:09 AM

Quote:

Originally Posted by WetWired
Template source would be helpfull.

this is how i have it right now

Code:

<if condition="$show['avatar']">
                                <div class="smallfont">
                                        &nbsp;<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
                                </div>
                        </if>
                       
                        <div class="smallfont">
                                &nbsp;<br />
                                <table class="WWU002postbit" cellspacing="2" cellpadding="0">    <tr>
      <td> <div class="pibu"><div class="pib"> <img src="$stylevar[imgdir_misc]/activity/textactivity.gif" /></td><td title="$WWU002_activityinfo"><img src="$stylevar[imgdir_misc]/activity/activity$WWU002_activitylevel.gif" class="i" /></div></td>
      </tr>
    <tr>
<td> <div class="pibu"><div class="pib"> <img src="$stylevar[imgdir_misc]/activity/textlongevity.gif" /></td><td title="$WWU002_longevityinfo"><img src="$stylevar[imgdir_misc]/activity/long$WWU002_longevitylevel.gif" class="i" /> </div> </td>
    </tr>
    <tr>
     
     
   
      <td><div class="pibu"><div class="pib"><img src="$stylevar[imgdir_misc]/activity/texttoday.gif" /></td><td title="$WWU002_todayinfo"><img src="$stylevar[imgdir_misc]/activity/today{$WWU002_todaylevel}_$WWU002_maxtodaylevel.gif" class="i" /></div></td>
</tr>
    <tr>
     
    </tr>
  </table>
                                <if condition="$post['field2']"><div class="pibu"><div class="pib">$vbphrase[location_perm]: $post[field2] </div> </div></if>
                                <if condition="$post['age']"><div class="pibu"><div class="pib">$vbphrase[age]: $post[age]</div></div></if>
                                <div class="pibu"><div class="pib">
                                        $vbphrase[posts]: $post[posts]
                                </div></div>
                                <if condition="$show['reputation']"><div class="pibu"><div class="pib"><if condition="$show['reppower']">$vbphrase[reppower]: $post[reppower]</if>$post[reputationdisplay]</div></div></if>
                                <if condition="$post[icqicon] or $post[aimicon] or $post[msnicon] or $post[yahooicon]"><div class="pibu"><div class="pib">$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]</div></div></if>
                        </div>

hope this is what you wanted.
I have galery as well im not good at coding but ill give you admin acces if you wantso you could mess with it.

WetWired 11-26-2005 08:08 AM

Code:

                                <table class="WWU002postbit" cellspacing="2" cellpadding="0">    <tr>
      <td> <div class="pibu"><div class="pib"> <img src="$stylevar[imgdir_misc]/activity/textactivity.gif" /></td><td ></div></td>
      </tr>
    <tr>
<td> <div class="pibu"><div class="pib"> <img src="$stylevar[imgdir_misc]/activity/textlongevity.gif" /></td><td title="$WWU002_longevityinfo"><img src="$stylevar[imgdir_misc]/activity/long$WWU002_longevitylevel.gif" class="i" /> </div> </td>
    </tr>
    <tr>
     
     
   
      <td><div class="pibu"><div class="pib"><img src="$stylevar[imgdir_misc]/activity/texttoday.gif" /></td><td title="$WWU002_todayinfo"><img src="$stylevar[imgdir_misc]/activity/today{$WWU002_todaylevel}_$WWU002_maxtodaylevel.gif" class="i" /></div></td>
</tr>
    <tr>
     
    </tr>
  </table>

becomes
Code:

<table class="WWU002postbit"><tr><td>
<div class="pibu"><div class="pib" title="$WWU002_activityinfo"><div style="float:left;width:100px;">Activity:</span> <img src="$stylevar[imgdir_misc]/activity/activity$WWU002_activitylevel.gif" class="i" /></div></div>
<div class="pibu"><div class="pib" title="$WWU002_longevityinfo"><div style="float:left;width:100px;">Longevity:</span> <img src="$stylevar[imgdir_misc]/activity/long$WWU002_longevitylevel.gif" class="i" /></div></div>
<div class="pibu"><div class="pib" title="$WWU002_todayinfo"><div style="float:left;width:100px;">Today:</span> <img src="$stylevar[imgdir_misc]/activity/today{$WWU002_todaylevel}_$WWU002_maxtodaylevel.gif" class="i" /></div></div>
</td></tr></table>


WetWired 11-26-2005 08:10 AM

Quote:

Originally Posted by cbr929rrerion
yes..

I disabled the activity hack, installed the other one.. then viewd source and then disabled the 2nd one and turned activity back on..

No I can say when I went to the gallery all functions as normal but when I forgot to disable the 2nd one you said to install I tried to view a thread and it said something about cookies etc.. but it did not do that in the gallery..

Gallery location is root/gallery/ if that matters...

Well, then, it appears that the problem is that the gallery does not use the postbit class to display the postbit template. I'd post a complaint in their support forum; it appears that the only way to make it work how it is now would be a code modification to the gallery.

cbr929rrerion 11-26-2005 03:10 PM

I would complain but it would do no good, the Gallery uses a lot of thing differant from VB..

lairnoc 11-26-2005 03:37 PM

installerd cewl thnx

djjeffa 11-26-2005 04:42 PM

Quote:

Originally Posted by WetWired
Code:

                                <table class="WWU002postbit" cellspacing="2" cellpadding="0">    <tr>
      <td> <div class="pibu"><div class="pib"> <img src="$stylevar[imgdir_misc]/activity/textactivity.gif" /></td><td ></div></td>
      </tr>
    <tr>
<td> <div class="pibu"><div class="pib"> <img src="$stylevar[imgdir_misc]/activity/textlongevity.gif" /></td><td title="$WWU002_longevityinfo"><img src="$stylevar[imgdir_misc]/activity/long$WWU002_longevitylevel.gif" class="i" /> </div> </td>
    </tr>
    <tr>
     
     
   
      <td><div class="pibu"><div class="pib"><img src="$stylevar[imgdir_misc]/activity/texttoday.gif" /></td><td title="$WWU002_todayinfo"><img src="$stylevar[imgdir_misc]/activity/today{$WWU002_todaylevel}_$WWU002_maxtodaylevel.gif" class="i" /></div></td>
</tr>
    <tr>
     
    </tr>
  </table>

becomes
Code:

<table class="WWU002postbit"><tr><td>
<div class="pibu"><div class="pib" title="$WWU002_activityinfo"><div style="float:left;width:100px;">Activity:</span> <img src="$stylevar[imgdir_misc]/activity/activity$WWU002_activitylevel.gif" class="i" /></div></div>
<div class="pibu"><div class="pib" title="$WWU002_longevityinfo"><div style="float:left;width:100px;">Longevity:</span> <img src="$stylevar[imgdir_misc]/activity/long$WWU002_longevitylevel.gif" class="i" /></div></div>
<div class="pibu"><div class="pib" title="$WWU002_todayinfo"><div style="float:left;width:100px;">Today:</span> <img src="$stylevar[imgdir_misc]/activity/today{$WWU002_todaylevel}_$WWU002_maxtodaylevel.gif" class="i" /></div></div>
</td></tr></table>


thanks for the help but it didnt work it kinda made it worse lol
any way as far as vbgallery is there a way to just make 2 dupliacat styles if you only use one style on your site and set it so when your in the gallere it uses the style without the activity hack?

djjeffa 11-26-2005 05:22 PM

ok I got the fonts to work but im tring to get the gray box to go all the way instead of ending at the text. anyone think they could help here is what I have now and how it looks.
<table class="WWU002postbit" cellspacing="2" cellpadding="0"> <tr>
Code:

<td> <div class="pibu"><div class="pib">Activity:</span> </td><td title="$WWU002_activityinfo"> <img src="$stylevar[imgdir_misc]/activity/activity$WWU002_activitylevel.gif" class="i" /> </div></td>
      </tr>
    <tr>
<td> <div class="pibu"><div class="pib"> Longevity:</span> </td> <td title="$WWU002_longevityinfo"><img src="$stylevar[imgdir_misc]/activity/long$WWU002_longevitylevel.gif" class="i" /> </div> </td>
    </tr>
    <tr>
    <td><div class="pibu"><div class="pib"> Today:</span>  </td><td title="$WWU002_todayinfo"><img src="$stylevar[imgdir_misc]/activity/today{$WWU002_todaylevel}_$WWU002_maxtodaylevel.gif" class="i" /></div></td>
</tr>
    <tr>
      </tr>
  </table>


mholtum 11-26-2005 09:45 PM

Installed quick and easy. Good Job. One issue.. See the image to see what I mean.

WetWired 11-27-2005 02:08 AM

Quote:

Originally Posted by djjeffa
ok I got the fonts to work but im tring to get the gray box to go all the way instead of ending at the text. anyone think they could help here is what I have now and how it looks.

You wont be able to get the effect you want with the same table layout. Try the code I posted, replacing </span> with </div> (oops)


Mholtum, I'm not sure exactly what your issue is, but if it's the background, you just need to look at the div arround the other stuff and put it arround the activity mod table.

mholtum 11-27-2005 05:20 AM

Quote:

Originally Posted by WetWired
Mholtum, I'm not sure exactly what your issue is, but if it's the background, you just need to look at the div arround the other stuff and put it arround the activity mod table.

I am not sure what it is. I have tried everything I can think of. Care to help a brother out? Here is my template.

Code:


<!-- post #$post[postid] -->
<if condition="$show['spacer']">
        $spacer_open
        <div id="edit$post[postid]" style="padding:0px 0px $stylevar[cellpadding]px 0px">
        <if condition="!$post['islastshown']"><!-- this is not the last post shown on the page --></if>       
</if>



<br />
 <!-- top category table setup -->
<table width="100%" class="tcat" border="0" cellpadding="0" cellspacing="0">
  <tr>
<td width="50" height="28" align="left" valign="top" class="pbitcat"><img  src="$stylevar[imgdir_misc]/cat_back.gif" width="50" height="28" alt="" /></td>
<td width="100%" valign="middle"><div class="smallfont" align="center">$post[icon] <strong>$post[title]</strong></div></td>
      <td width="28" height="28" align="right" valign="top"><img src="$stylevar[imgdir_misc]/cat_top_rs.gif" width="28" height="28" alt=" " border="0" /></td>
  </tr>
</table>
        <!-- End top category table setup -->

<table id="post$post[postid]" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="1" border="0" width="100%" align="center">
<tr>
        <if condition="$show['announcement']">
                <td class="thead" style="font-weight:normal" colspan="2">
                        <img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" />
                        <phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase>
                </td>
        <else />
                <td class="thead" style="font-weight:normal" $post[scrolltothis]>               
                        <!-- status icon and date -->
                        <a name="post$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /></a>
                        $post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
                        $post[firstnewinsert]
                        <!-- / status icon and date -->                               
                </td>
                <td class="thead" style="font-weight:normal" align="$stylevar[right]">
                        &nbsp;
                        <if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a></if>
                        <if condition="$show['inlinemod']">
                                <input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]" onclick="inlineMod.toggle(this)" />
                        </if>
                </td>
        </if>
</tr>
<tr valign="top">
        <td class="alt2" width="175">
                       
                        <div id="postmenu_$post[postid]">
                                <if condition="$show['profile']">
                                <a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
                                <script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
                                <else />
                                $post[musername]
                                </if>
                        </div>
                       
                        <if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>
<div class="smallfont"><strong>$WWU002_ranktext</strong></div>
                        <if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
               
                        <if condition="$show['avatar']">
                                <div class="smallfont">
                                        &nbsp;<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
                                </div>
                        </if>
                       
                        <div class="smallfont">
                                &nbsp;<br />
                                <div class="info">$post[musername] is $post[onlinestatus] </div>
                                <div class="smallfont">
                                  <table class="WWU002postbit" cellspacing="2" cellpadding="0">
    <tr>
      <td><img src="$stylevar[imgdir_misc]/activity/textactivity.gif" /></td>
      <td><img src="$stylevar[imgdir_misc]/activity/textlongevity.gif" /></td>
    </tr>
    <tr>
      <td title="$WWU002_activityinfo"><img src="$stylevar[imgdir_misc]/activity/activity$WWU002_activitylevel.gif" class="i" /></td>
      <td title="$WWU002_longevityinfo"><img src="$stylevar[imgdir_misc]/activity/long$WWU002_longevitylevel.gif" class="i" /></td>
    </tr>
    <tr>
      <td><img src="$stylevar[imgdir_misc]/activity/texttoday.gif" /></td>
      <td><img src="$stylevar[imgdir_misc]/activity/textposts.gif" /></td>
    </tr>
    <tr>
      <td title="$WWU002_todayinfo"><img src="$stylevar[imgdir_misc]/activity/today{$WWU002_todaylevel}_$WWU002_maxtodaylevel.gif" class="i" /></td>
      <td dir="ltr"><img src="$stylevar[imgdir_misc]/activity/posts$WWU002_postsd[1].gif" class="il" /><img src="$stylevar[imgdir_misc]/activity/posts$WWU002_postsd[2].gif" class="im" /><img src="$stylevar[imgdir_misc]/activity/posts$WWU002_postsd[3].gif" class="im" /><img src="$stylevar[imgdir_misc]/activity/posts$WWU002_postsd[4].gif" class="im" /><img src="$stylevar[imgdir_misc]/activity/posts$WWU002_postsd[5].gif" class="im" /><img src="$stylevar[imgdir_misc]/activity/posts$WWU002_postsd[6].gif" class="im" /><img src="$stylevar[imgdir_misc]/activity/posts$WWU002_postsd[7].gif" class="im" /><img src="$stylevar[imgdir_misc]/activity/posts$WWU002_postsd[8].gif" class="im" /><img src="$stylevar[imgdir_misc]/activity/posts$WWU002_postsd[9].gif" class="ir" /></td>
    </tr>
  </table>                               
 
  <if condition="$post['field2']"><div class="info">$vbphrase[location_perm]: $post[field2]</div></if>
                                <if condition="$post['age']"><div class="info">$vbphrase[age]: $post[age]</div></if>
                                <div class="info">$vbphrase[posts]: $post[posts]
<!-- Start Post Thank You Hack -->
<if condition="$post[userid]">
<br />
$vbphrase[post_thanks_thanks]: $post[post_thanks_user_amount]
<br />
<if condition="$post[post_thanks_thanked_times] == 1">
$vbphrase[post_thanks_time_post]
<else />
<if condition="$post[post_thanks_thanked_posts] == 1">
<phrase 1="$post[post_thanks_thanked_times]">$vbphrase[post_thanks_times_post]</phrase>
<else />
<phrase 1="$post[post_thanks_thanked_times]" 2="$post[post_thanks_thanked_posts]">$vbphrase[post_thanks_times_posts]</phrase>
</if>
</if>
</if>
<!-- End Post Thank You Hack -->
<strong>Time spent on board:</strong><br /> $post[timeonboard]
</div>
                            <if condition="$show['reputation']"><div class="info">Rep: $post[reputationdisplay]</div></if>
                                <if condition="$show['reppower']"><div class="info">$vbphrase[reppower]: $post[reppower] </div></if>
                                <if condition="$post[icqicon] or $post[aimicon] or $post[msnicon] or $post[yahooicon]"><div class="info">$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]</div>

<!-- DONATIONS -->
                                        <if condition="$post['donor'] == '1'"><if condition="$post['showdonor'] == '1'"><div><a href="$vboptions[bburl]/donate.php"><img src="$stylevar[imgdir_button]/donate_donor.gif" border="0"></a></div></if></if>
<!-- END DONATIONS --></if>
                        </div>                                               
               
        </td>
        <if condition="$show['moderated']">
        <td class="alt2" id="td_post_$post[postid]">
        <else />
        <td class="alt1" id="td_post_$post[postid]">
        </if>
       
                <if condition="$show['messageicon'] OR $post['title']">
                        <!-- icon and title -->
                        <div class="smallfont">
                                <if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
                                <if condition="$post['title']"><strong>$post[title]</strong></if>
                        </div>
                        <hr size="1" style="color:$stylevar[tborder_bgcolor]" />
                        <!-- / icon and title -->
                </if>
               
                <!-- message -->
                <div id="post_message_$post[postid]">$post[message]</div>
                <!-- / message -->
       
                <if condition="$show['attachments']">
                <!-- attachments -->
                        <div style="padding:$stylevar[cellpadding]px">
                       
                        <if condition="$show['thumbnailattachment']">
                                <fieldset class="fieldset">
                                        <legend>$vbphrase[attached_thumbnails]</legend>
                                        <div style="padding:$stylevar[formspacer]px">
                                        $post[thumbnailattachments]
                                        </div>
                                </fieldset>
                        </if>
               
                        <if condition="$show['imageattachment']">
                                <fieldset class="fieldset">
                                        <legend>$vbphrase[attached_images]</legend>
                                        <div style="padding:$stylevar[formspacer]px">
                                        $post[imageattachments]
                                        </div>
                                </fieldset>
                        </if>
                       
                        <if condition="$show['imageattachmentlink']">
                                <fieldset class="fieldset">
                                        <legend>$vbphrase[attached_images]</legend>
                                        <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                                        $post[imageattachmentlinks]
                                        </table>
                                        </fieldset>
                        </if>
                       
                        <if condition="$show['otherattachment']">
                                <fieldset class="fieldset">
                                        <legend>$vbphrase[attached_files]</legend>
                                        <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                                        $post[otherattachments]
                                        </table>
                                </fieldset>
                        </if>
                       
                        <if condition="$show['moderatedattachment']">
                                <fieldset class="fieldset">
                                        <legend>$vbphrase[attachments_pending_approval]</legend>
                                        <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                                        $post[moderatedattachments]
                                        </table>
                                </fieldset>               
                        </if>
                       
                        </div>
                <!-- / attachments -->
                </if>
               
                <if condition="$post['signature']">
                <!-- sig -->
                        <div>
                                __________________<br />
                                $post[signature]
                        </div>
                <!-- / sig -->
                </if>
               
                <if condition="$show['postedited']">
                <!-- edit note -->
                        <div class="smallfont">                        <hr size="1" style="color:$stylevar[tborder_bgcolor]" />
                                <em>
                                <phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>.
                                <if condition="$post['edit_reason']">$vbphrase[reason]: $post[edit_reason]</if>
                                </em>
                        </div>
                <!-- / edit note -->
                </if>
       
        </td>
</tr>
<tr>
        <td class="alt2">
               
                <if condition="$show['reputationlink']"><a href="#" onclick="reputation($post[postid]); return false;"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" border="0" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" /></a></if>
                <if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a></if>
                $post[iplogged]
                &nbsp;
        </td>
        <if condition="$show['moderated']">
        <td class="alt2" align="$stylevar[right]">
        <else />
        <td class="alt1" align="$stylevar[right]">
        </if>
                <!-- controls -->
<!-- Start Post Thank You Hack -->
$post_thanks_button
<!-- End Post Thank You Hack -->
                <if condition="$post['editlink']">
                        <a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>
                </if>
                <if condition="$post['forwardlink']">
                        <a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a>
                </if>
                <if condition="$post['replylink']">
                        <a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
                </if>
                <if condition="$show['quickreply'] AND !$show['threadedmode']">
                        <a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a>
                </if>
                <if condition="$show['moderated']">
                        <img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" />
                </if>
                <!-- / controls -->
        </td>
</tr>
</table>

<!-- post $post[postid] popup menu -->
<div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none">
        <table cellpadding="4" cellspacing="1" border="0">
        <tr>
                <td class="thead">$post[username]</td>
        </tr>
        <if condition="$show['profile']">
                <tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
        </if>
        <if condition="$show['pmlink']">
                <tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>
        </if>
        <if condition="$show['emaillink']">
                <tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr>
        </if>
        <if condition="$show['homepage']">
                <tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
        </if>
        <if condition="$show['search']">
                <tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_more_posts_by_x]</phrase></a></td></tr>
        </if>
        <if condition="$post['userid'] AND $show['member']">
        <tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr>
        </if>
        </table>
</div>
<!-- / post $post[postid] popup menu -->


  <!-- bottom table setup -->
    <table width="100%" border="0" cellpadding="0" cellspacing="0" style="background-image:url($stylevar[imgdir_misc]/dist_btm_table.gif)">
      <tr>
        <td width="100%" height="14" align="left" valign="top" class="btmcat">&nbsp;</td>
      </tr>
    </table>
  <!-- End bottom table setup -->

<if condition="$show['spacer']">
        </div>
        $spacer_close
</if>
<!-- / post #$post[postid] -->
<!-- Start Post Thank You Hack -->
$post_thanks
<!-- End Post Thank You Hack -->


WetWired 11-27-2005 07:25 AM

If you're not sure what your problem is, I can't help you. If you're not sure how to put the activity stuff in a box, change
Code:

                                <div class="smallfont">
                                  <table class="WWU002postbit" cellspacing="2" cellpadding="0">

to
Code:

                                <div class="info">
                                  <table class="WWU002postbit" cellspacing="2" cellpadding="0">


WetWired 12-13-2005 09:01 PM

I've reposted the same version of the mod with an HTML template modification guide instead of the text version to resolve confusion some users were having.

BiReL41r 12-16-2005 08:16 PM

Will it always be in the postbit or can you take it out?

GrendelKhan{TSU 12-17-2005 12:55 AM

it'd be great to have a way to turn this off for long threads....its murderously slow on long threads especially for users who are far from the server (I have a lot of Korean users).

is there any another solution beside just uninstalling it? I really like this.

WetWired 12-17-2005 06:35 AM

Quote:

Originally Posted by GrendelKhan{TSU
it'd be great to have a way to turn this off for long threads....its murderously slow on long threads especially for users who are far from the server (I have a lot of Korean users).

is there any another solution beside just uninstalling it? I really like this.

I'm not sure I understand. The length of a thread should be of no consequence to the activity hack, since it only operates on a page of posts at a time, and where the page is accessed from is even less significant.

Quote:

Will it always be in the postbit or can you take it out?
You could keep it from operating in threads by not doing the postbit modifications and disabling the postbit_display_start plugin, though I'm not sure why you would want to do this.

Smiry Kin's 12-17-2005 09:56 PM

Great Scripted installed and everything, 3.5.2

Also, is there any way to get the images, in the postbit title kinda thing??

where it says the posts date (as same in this forum )

thank you!

Smiry Kin's 12-17-2005 09:57 PM

Quote:

Originally Posted by mholtum
Installed quick and easy. Good Job. One issue.. See the image to see what I mean.

whats your script to add that please share!

WetWired 12-18-2005 07:34 AM

Quote:

Originally Posted by Smiry Kin's
Also, is there any way to get the images, in the postbit title kinda thing??

where it says the posts date (as same in this forum )

thank you!

I'm not sure I understand. Perhaps you could make a picture of what you're trying to do?

Snake 12-21-2005 12:36 PM

Can this be added in profile page too?

djjeffa 12-21-2005 10:43 PM

whell i finnally got it the way I want lol
I wish i could get the boxes to go all the way to the right like the others.

also wondering if there is some kind of codding where i could add the top 10 active members.

GrendelKhan{TSU 12-23-2005 08:32 AM

Quote:

Originally Posted by WetWired
I'm not sure I understand. The length of a thread should be of no consequence to the activity hack, since it only operates on a page of posts at a time, and where the page is accessed from is even less significant.

well all I know then, is that it brought loading of threads to screeeching painful molasses pace. some threads took a good ten seconds to load. :(
I had tons of loading time complaints. Skins without would load a lot faster by comparison (loaded normally).

I had to unistall it. :(

there was an immediate and obvoius speed improvement after I removed it. At LEAST, three or fours + times faster.

is there something else going on? I really did like this hack a lot. :)

Logikos 12-23-2005 05:27 PM

I've been using this hack since the day WetWired released it to the public for the 3.0.x versions of vB and I have yet to experiance any loading problems with any threads.

He uses the same hack on his forums at Zelaron.com and threads there load quite fast with the amount of graphics that the postbit uses.

Kuimera 12-23-2005 06:41 PM

Quote:

Originally Posted by Live Wire
I've been using this hack since the day WetWired released it to the public for the 3.0.x versions of vB and I have yet to experiance any loading problems with any threads.

He uses the same hack on his forums at Zelaron.com and threads there load quite fast with the amount of graphics that the postbit uses.

The only explanation for this must be your server configuration/speed that the site is hosted...

WetWired 12-23-2005 10:12 PM

Quote:

Originally Posted by Aftermath
Can this be added in profile page too?

It should already be in the profile page if you completed all the template modifications.

Quote:

Originally Posted by GrendelKhan{TSU
Skins without would load a lot faster by comparison (loaded normally).

If that's the case, then I suggest trying the simple (text based) template mods, or perhaps cutting out the digitized postcount part.

Quote:

Originally Posted by djjeffa
also wondering if there is some kind of codding where i could add the top 10 active members.

I did do a top ten activity script for vB3 to go with vBStat; when I get some time, I will look into converting this and making it work stand allone. If there is a coder interesting in doing this (now as opposed to waiting for me to find the time), they should PM me and I'll give them the existing script to modify.

Kuimera 12-24-2005 04:05 PM

I know that this is a odd request, but WetWired can you please send me the font that you use to make the "Logevity" and "Activity" ?

Logikos 12-24-2005 04:43 PM

Quote:

Originally Posted by Kuimera
I know that this is a odd request, but WetWired can you please send me the font that you use to make the "Logevity" and "Activity" ?

Thats not a font, those are made by hand. Well, pixel by pixel. :)

nexus851 12-24-2005 04:50 PM

why is the activity graph says a very high number like 8991 when you have your mouse over it?

lairnoc 12-24-2005 04:58 PM

ok i imported it, but what do i do with the html file and what must i do more to get it working?
can't find any installation procedure

Kuimera 12-24-2005 09:16 PM

Quote:

Originally Posted by Live Wire
Thats not a font, those are made by hand. Well, pixel by pixel. :)

Well so I guess is time to do some hand pixel :p

Tks m8.


All times are GMT. The time now is 02:33 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02357 seconds
  • Memory Usage 1,999KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (12)bbcode_code_printable
  • (21)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete