vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Last X Posts In Profile (https://vborg.vbsupport.ru/showthread.php?t=41743)

Boofo 08-01-2002 03:17 PM

The addon is showing all of the characters in the post no matter what I have it set to. If the post is too long, it seems like it is flashing on the screen because the post is longer than the screen.

afterlab 08-01-2002 03:33 PM

Boofo: Ah, thanks for the heads up. I fixed it now, and it's been tested to work perfect. Installation file updated

Velocd 08-01-2002 04:09 PM

I modified it to not show the alt-text, and just insert it right into the post, only because I'm too lazy to move my mouse over it...

But, anyway, I was thinking of another great add-on would to have page numbers! That way I can browse through their newest posts, past the amount I specify to be shown.

And in addition to that, maybe a drop down list to specify how many posts are shown? That doesn't seem too hard :p

Great hack once again ;)

Mr_P 08-01-2002 05:37 PM

Quote:

Originally posted by Velocd
I modified it to not show the alt-text, and just insert it right into the post, only because I'm too lazy to move my mouse over it...


Hello Velocd im lazy any chance of telling us how you got it to go like yours instead of the mouse over text ??????????.

afterlab 08-01-2002 05:43 PM

To do what Velocd did, do this:

Code:

// ###############################
// Create a new template named:  #
// getinfo_latestposts          #
// ###############################
// ENTER THIS:                          #
// ###############################

            <tr>
              <td width="70%" bgColor="{firstaltcolor }">
              <normalfont><a href="$posturl">$posttitle</a></normalfont></td>
              <td width="30%" bgColor="{firstaltcolor }">
              <normalfont>$postdate $posttime</normalfont></td>
            </tr>
            <tr>
              <td width="100%" bgColor="{firstaltcolor }">
              <smallfont>$addon</smallfont></td>
            </tr>

If you've already installed it, then just add this to the end of getinfo_latestposts:

Code:

            <tr>
              <td width="100%" bgColor="{firstaltcolor }">
              <smallfont>$addon</smallfont></td>
            </tr>

Also, make sure you delete the extra spaces in {firstaltcolor }. I had to do this so it wouldn't automatically parse here at vB.org.

Mr_P 08-01-2002 06:15 PM

ok its seems a lot better that way i like can see instantly

One last thing - is it possible to call that code in on a page on its own as evertime i want to see what a users last 10 posts i have to scroll down to avoid having to read the profile again.

minor niggle i know but once u read it u read it :)

Velocd 08-01-2002 08:32 PM

Use an anchor tag then if you are planning to access it via a link and want direct access.

Other wise, it's pointless to make because there is already an option in the userprofile (before installing this hack) to view the members newest posts. (to see that page, click on the magnify glass next to your username on vB.org postbit)

The only last thing I could really use on Afterlabs hack is pagenumbers, so you can see more then just the last 10 posts (that is what I defined) but the page will only show 10, to not clutter things up.

Mr_P 08-01-2002 08:41 PM

lol i only just noticed the glass

is this an hack that is already out ?

Velocd 08-01-2002 08:53 PM

No, it's a built in feature of vBulletin, lol :p

Replace yoursite with your domain name:

http://www.yoursite.com/forums/searc...lts&searchid=1

It mainly can be accessed through the user profile. (search for all posts by this user)

Boofo 08-02-2002 12:06 AM

Found another problem. You aren't parsing out the html. Here's a sample of what I got in one of the messages. Before the Delete original PM, there is a checkbox. I don't know why it won't show up in here now, but it is there. :) It is a code box or PHP box the delete line is in.

Quote:

...it goes on ;) What do you already have changed? What else must you change? We have reached an agreement (*LOL) that you use only one template. For this you must change - the template 'priv_sendprivmsg' - the file private.php First the template: search for $requestreceipt and add directly after

Delete original PM: delete original PM after reply
serach for $header ...


All times are GMT. The time now is 01:15 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.01208 seconds
  • Memory Usage 1,740KB
  • 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_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
  • (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