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)

WetWired 01-25-2007 03:21 PM

Quote:

Originally Posted by shelaby (Post 1166745)
I have a prob. with the admincp

vbulletin 3.6.4 german

This is almost certainly a localization issue, and can be fixed by localizing the admin_index_navigation plugin. Functionally, this shouldn't affect anything, it just makes the CP nav less pretty.

shelaby 01-25-2007 04:28 PM

@WetWired
thanks for your Help:)

Is a god hack !

MFG

WetWired 01-29-2007 09:04 PM

I've uploaded version 2.80 rc1 for early adopters to test. I'll be checking this thread daily at least untill the normal release to check for issues.

djjeffa 01-30-2007 01:28 AM

i did a coustom edit to the post bit for this hack in the pass if i upgrade will i lose it?

da420 01-30-2007 01:33 AM

If you have to revert your postbit template, then yes you will lose the edit.

WetWired 01-30-2007 07:09 AM

There is no difference in the template edits for version 2.80 and version 2.70, and all old templates will at least work the same way they did with the new version, so there's no need to redo the template edits.

djjeffa 01-30-2007 10:45 AM

Quote:

Originally Posted by WetWired (Post 1170390)
There is no difference in the template edits for version 2.80 and version 2.70, and all old templates will at least work the same way they did with the new version, so there's no need to redo the template edits.

cool thanks
ps love this hack

Milad 01-30-2007 03:16 PM

There are Uncached templates on index.php?do=activitystat:

WWU002statbit and WWU002statpage

Regards

Milad 01-30-2007 05:25 PM

Also the hack isn't XHTML 1.0 Transitional valid, so please make it valid.

http://validator.w3.org/check?uri=ht...&ss=1#line-655

WetWired 01-30-2007 06:03 PM

I'm not sure what you're trying to point out with that link. The line you're jumping to is generated by vBulletin's pre-existing code.

Milad 01-30-2007 08:30 PM

No your plugins control the generating.

1) In the plugin "Top Activity" at forumhome_start hook

PHP Code:

$pagenav=construct_page_nav($pagenumber,$perpage,count($WWU002statdata),$vbulletin->options['forumhome'].'.php?'.$vbulletin->session->vars['sessionurl'].'do=activitystat&pp='.$perpage); 

must be:

PHP Code:

$pagenav=construct_page_nav($pagenumber,$perpage,count($WWU002statdata),$vbulletin->options['forumhome'].'.php?'.$vbulletin->session->vars['sessionurl'].'do=activitystat&pp='.$perpage); 



2) you use selected instead of selected="selected" in the template "WWU002statpage"

HTML Code:

<option <if condition="$perpage==10">selected</if>>10</option>
<option <if condition="$perpage==20">selected</if>>20</option>
<option <if condition="$perpage==50">selected</if>>50</option>
<option <if condition="$perpage==100">selected</if>>100</option>

must be:


HTML Code:

<option<if condition="$perpage==10"> selected="selected"</if>>10</option>
<option<if condition="$perpage==20"> selected="selected"</if>>20</option>
<option<if condition="$perpage==50"> selected="selected"</if>>50</option>
<option<if condition="$perpage==100"> selected="selected"</if>>100</option>


After doing these modifications the errors had disappeared
take a look:

http://validator.w3.org/check?uri=ht...doctype=Inline

Also the edits to postbit(_legacy) need some corrections in the <img> tags

Regards

Milad 01-30-2007 08:36 PM

Also I discovered a bug in the top activity page.

take a look here http://www.syrianmeds.net/forum/inde...p=100&langid=9

Now look for users who have the same activity level, for example the users: NINAR & almoheeb, both share the activity 3.8% and the rank 91, but the next rank is 94 not 92.

got it?

WetWired 01-30-2007 09:27 PM

That's how the ranks are supposed to go. Just because 3 people are 1st doesn't make the next person 2nd. If two people tie for gold in the Olympics, the next person gets bronze, not silver. If you don't like the way I do ties, you can turn them off in the CP.

WetWired 01-30-2007 09:44 PM

Uploaded 2.80 rc3. You only need to redo the template edits if you want alt attributes on all your images...

Milad 01-31-2007 10:06 AM

Quote:

Originally Posted by WetWired (Post 1170859)
That's how the ranks are supposed to go. Just because 3 people are 1st doesn't make the next person 2nd. If two people tie for gold in the Olympics, the next person gets bronze, not silver. If you don't like the way I do ties, you can turn them off in the CP.

No, I like it, but I thought it might work in different way.

Thank you

princeedward 01-31-2007 06:22 PM

great one..thanks for this bro...:) install clicked...

DasCool 02-03-2007 02:41 AM

Does anyone know why i have double like in the picture

WetWired 02-03-2007 03:38 AM

One is from the mod and can change with activity, the other is the default one based on usergroup or customizable. This works out really well when everyone has custom titles, because this way, you can still tell who the staff are.

It shows that in the screenshot:
Attachment 33101

If you don't want it, just search for $WWU002_ranktext in your postbit_legacy template, and remove the whole line

ijob 02-03-2007 08:29 AM

Ok I've added it successfully, now when a member has a large Location description it shifts the longevity, posts etc graphics to one side which makes that side look a bit odd.

How do I move member info 'Location:********' from the right side to under the avatar?

I've attached an image

Thanks

WetWired 02-03-2007 03:55 PM

You can find the location field by searching for
Code:

                                        <if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
You can then move it where you like.
Also, I have an idea to fix the original problem of the other stuff affecting the placement of the activity stuff, but I don't have time ATM to work on it. Check back Monday afternoon for that.

Rickeo 02-03-2007 05:34 PM

I cnt believe this it has totally messed up my skin now u cnt view the images why?? I have uploaded them to my misc file under images yet theres just littl white boxes with crosses there

Rickeo 02-03-2007 05:56 PM

Sorry I have done it now lol my mistake not reading the whole post through carefully enough

Chicago_VLNU_4s 02-04-2007 07:06 AM

nice, clicked installed

princeedward 02-04-2007 08:07 AM

Quote:

Originally Posted by WetWired (Post 1173445)
One is from the mod and can change with activity, the other is the default one based on usergroup or customizable. This works out really well when everyone has custom titles, because this way, you can still tell who the staff are.

It shows that in the screenshot:
Attachment 33101

If you don't want it, just search for $WWU002_ranktext in your postbit_legacy template, and remove the whole line

got this problem solved also...so thanks a lot for this info...

Added Fast Tip Info:

REMOVED:"OWNER" OR DOUBLE USERGROUP, CUSTOM USER TITLES UNDER USER'S AVATAR...

Code:

++++++++++++++++++++++++++++++
FIND:
++++++++++++++++++++++++++++++

<if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>

++++++++++++++++++++++++++++++
BELOW REMOVE/DELETE:
++++++++++++++++++++++++++++++

<div class="smallfont"><strong>$WWU002_ranktext</strong></div>

Thanks & Best Regards To All...

princeedward 02-05-2007 04:54 AM

Quote:

Originally Posted by WetWired (Post 1173445)
One is from the mod and can change with activity, the other is the default one based on usergroup or customizable. This works out really well when everyone has custom titles, because this way, you can still tell who the staff are.

It shows that in the screenshot:
Attachment 33101

If you don't want it, just search for $WWU002_ranktext in your postbit_legacy template, and remove the whole line

:( now i found out that the "OWNER" word is still under my avatar...located on my "Public Profile"...how am i gonna remove it then?...try to find it myself but no luck...pls advice...

thanks and best regards...

:o

WetWired 02-05-2007 12:27 PM

It's the same as in the postbit, find $WWU002_ranktext.

princeedward 02-06-2007 07:28 PM

Quote:

Originally Posted by WetWired (Post 1175163)
It's the same as in the postbit, find $WWU002_ranktext.

sorry bro... i did the way you told me...but it's still there...please advice...

thanks and best regards...

:o

WetWired 02-06-2007 10:24 PM

I advise upgrading to 2.80 release, in which you can just disable it in the Admin CP.

princeedward 02-07-2007 04:38 PM

:p do i have to uninstall the old one and install this new modification and repeat the templates editing process or what?....sorry for the stupid question., kinda newbie for all this thing...so appreciate all advice if possible bro..:o

thanks a lot and best regards....

;)

da420 02-07-2007 04:39 PM

Just over write the product...

WetWired 02-07-2007 04:51 PM

Quote:

Note: To upgrade, with the old version still installed, go to the Add/Import Product link on the Manage Products page, select the XML file for the new version, choose Yes for overwrite, then click Import.
So no, don't uninstall the old version. The templates are up to you: The change log explains what changes have been made to them in each version, decide if you need the changes. There hasn't been any functionally significant changes to the template edits since 2.70, and even then templates as old as 2.50 release should still work fine with the core functionality.

princeedward 02-07-2007 06:57 PM

Quote:

Originally Posted by da420 (Post 1176882)
Just over write the product...

Quote:

Originally Posted by WetWired (Post 1176900)
So no, don't uninstall the old version. The templates are up to you: The change log explains what changes have been made to them in each version, decide if you need the changes. There hasn't been any functionally significant changes to the template edits since 2.70, and even then templates as old as 2.50 release should still work fine with the core functionality.

now it's all "A-OK" many thanks for all advice brothers...more power coders and keep up your good/genious work...:up:

best regards...

:p

TheFrienzNet 02-08-2007 12:57 AM

Great, this looks awesome. :D

hotmasala4u 02-09-2007 03:49 PM

hey i wanna instll this hack in blackice skin can some one tell em how 2 do it cuz i dont get it

plz thanks

WetWired 02-09-2007 04:59 PM

It would help us help you, if you'd provide the templates that you need help modifying. That would be the MEMBERINFO template, and depending on if you're using horizontal or vertical postbits, postbit or postbit_legacy, respectively.

hotmasala4u 02-10-2007 03:38 AM

i am ussing black ice

what else u need

WetWired 02-10-2007 05:56 AM

I would need the MEMBERINFO, postbit, and postbit_legacy templates from that style to modify...

Your response indicates to me that perhaps you are unfamiliar with the style editor.
You should reference
http://www.vbulletin.com/docs/html/m..._and_templates
for more information on working with styles,
http://www.vbulletin.com/docs/html/m...edit_templates
in particular. The HTML file that came in the zip file contains instructions for editing individual templates of a style. As shown on the second linked page, you will need to go into the style manager, click <<>> next to the style to edit, then find the listed templates in the list to the left and edit them. Once you are in the edit screen, you will need to match each reference block in the html file to the same place in the template, then perform the indicated action from the HTML file. After you have performed each needed modification to a given template, click save at the bottom.

If you have trouble editing the templates yourself, you can copy the contents of each of the three templates into text files and attach them for me to edit, allong with which options to use. I need to know:
text or images
On the horizontal postbit, do you want the activity images (if you wanted images) in a separate column, or the same column as the IM icons, location information, etc.

hotmasala4u 02-12-2007 03:20 PM

i dont get a thing u said lolz

WetWired 02-12-2007 04:33 PM

The manual section I linked to lays out the basics. If after reading through the pages of that section, you don't understand what I'm talking about, I'm not sure how to make it clearer.

Frozen Tastee 02-12-2007 08:11 PM

i was wondering i saw your website zelaron.com and like you have rank image and avatar box and the activity mod but when i install all i get is the basic four fields Post, Today, Activity, and Logitivity. so how can i get the layout like yours with rank and avatar and all that jazz. and if this is leaving a ? check 360monster.com or gamernode.com forums its like yours and i need that for my site


All times are GMT. The time now is 05:52 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.01806 seconds
  • Memory Usage 1,840KB
  • 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
  • (2)bbcode_html_printable
  • (2)bbcode_php_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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