vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Miscellaneous Hacks - Activity Modification (https://vborg.vbsupport.ru/showthread.php?t=177366)

Deej510 08-10-2008 03:02 PM

Getting this warning on the stats page:
Warning: unserialize() expects parameter 1 to be string, array given in [path]\index.php(69) : eval()'d code on line 17

WetWired 08-10-2008 11:00 PM

Quote:

Originally Posted by SessizDunya (Post 1593892)
Great Mod. Installed, thanks a lot.

I have a quick question. I see 2 of user activity, long etc. image mod on every thread. First one is below the ranks, the other one is at the bottom. How can I modify this and delete the bottom one? I couldn't find the temp.. :confused:

That is most odd. Did you manually edit the templates?

WetWired 08-10-2008 11:04 PM

Quote:

Originally Posted by shaqoneal (Post 1594733)
but I was wondering, how much would that generally increase the mySQL databases size by for a forum that has 1,900 members (generally 500 active) and about 2000 new posts to the forum a day?

The mod should not significantly increase database size.
In its default configuration, server load increase should be inperceptable except when users first start viewing threads each day. Even then, this load increase should generally be minor unless you have many active users at the time the day rolls over.

SessizDunya 08-15-2008 08:17 AM

Quote:

Originally Posted by WetWired (Post 1595834)
That is most odd. Did you manually edit the templates?

No, I didn't edit the templates. This is really weird. On the menu; Automatic postbit alteration, when I choose "Default Location" I see 2 activity windows. You can see the attached file;

SSJB_7 08-15-2008 09:58 AM

can you help me i installed it and the only thing get is this

https://vborg.vbsupport.ru/external/2008/08/36.jpg

with light activity and instead of white it makes black with dark activity you can see in my site also i don't uninstall it, till some suggetions.
I tried to upload it at forum/images/misc.... ....with dark/white folders
....with only activity folders
....with only the files .
Please if you can help me.
Thanks a lot

WetWired 08-17-2008 02:04 AM

Quote:

Originally Posted by SessizDunya (Post 1599071)
No, I didn't edit the templates. This is really weird. On the menu; Automatic postbit alteration, when I choose "Default Location" I see 2 activity windows. You can see the attached file;

Could you please copy the postbit template you are using (postbit or postbit_legacy) into a text file and attach it?

WetWired 08-17-2008 02:09 AM

Quote:

Originally Posted by SSJB_7 (Post 1599141)
can you help me i installed it and the only thing get is this

with light activity and instead of white it makes black with dark activity you can see in my site also i don't uninstall it, till some suggetions.
I tried to upload it at forum/images/misc.... ....with dark/white folders
....with only activity folders
....with only the files .
Please if you can help me.
Thanks a lot

I can't find a link to your site in your profile. Please be sure that forum/images/misc is the correct folder. The style you are using may use a different misc folder. The proper installation of the images should have the images accessable as for example .../misc/activity/longevity20.gif . If you right click the 20/20 and click properties, you should be able to see where it is looking for the image, which should help you figure out where to put it.

SessizDunya 08-20-2008 06:11 AM

Quote:

Originally Posted by WetWired (Post 1600449)
Could you please copy the postbit template you are using (postbit or postbit_legacy) into a text file and attach it?

Sure. I attached my postbit template. Thanks.

WetWired 08-20-2008 11:38 AM

The problem is that you have the postbit_userinfo_right template hook twice. The activity mod puts the stats in $template_hook[postbit_userinfo_right].
The first place is here:
Code:

<if condition="$show['reputation']"><div style="padding:2px 0px 2px 0px;"></div><div><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if>
$template_hook[postbit_userinfo_right]

               
                        <if condition="$show['member']"><if condition="$show['avatar']">
                                <div class="smallfont">
                                        &nbsp;<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></if>
                                </div>
                        </if>

The second is here
Code:

                                <div>
                                        $vbphrase[my_mood]: <img src="images/mood/$post[mood].gif" border="0" />
                                </div>
                                </if>
                               
                        </div>               
$template_hook[postbit_userinfo_right]
                <div style="padding:5px 0px 5px 0px;"></div>
               
        </td>
        </if>

If you remove one, your problem will be fixed.

SessizDunya 08-20-2008 11:51 AM

Quote:

Originally Posted by WetWired (Post 1603006)
The problem is that you have the postbit_userinfo_right template hook twice. The activity mod puts the stats in $template_hook[postbit_userinfo_right].

Thank you very much man. Looks great!


All times are GMT. The time now is 09:15 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.01526 seconds
  • Memory Usage 1,750KB
  • 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
  • (2)bbcode_code_printable
  • (7)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
  • (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