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)

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.


All times are GMT. The time now is 10:13 AM.

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.01503 seconds
  • Memory Usage 1,770KB
  • 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
  • (6)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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