vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Display recent 30 user statuses (https://vborg.vbsupport.ru/showthread.php?t=297118)

Honourable 04-12-2013 03:22 PM

Display recent 30 user statuses
 
Hi,

Using this product
https://vborg.vbsupport.ru/showthread.php?t=277545

I'm trying to display the recent 30 status in the header

Much appreciated if it possible to at least direct me for instructions as I do understand quiet good on php

and many thanks in advance

Lynne 04-12-2013 04:22 PM

Questions/Problems regarding modifications/styles need to be asked in the modification/style thread. That is where the support for modification/style is - not out here in the main forums. Please note that if a modification/style is unsupported (or even if it says it is supported), you may be on your own if you chose to install it.

Honourable 04-12-2013 05:59 PM

Thank you anyway and sorry as I have made an inconvenience

By the way I have found the solution in here is it

basically add the following code anywhere you want the recent statuses to appear

PHP Code:

        <div id="streamdata">

        </
div

as they using ajax to display status and its assigned with the streamdata id as you can see in the div I have attached it has been assigned with the id accordingly

lol didnt know it will be that easy yet I wished if it was more harder then I would learn more

another help if anyone wanted to limit the status I have found way to do which is not a full solution

but it will do it for now

go to the dmods/live/classes/core.php

open it and search for

PHP Code:

{$limit

replace it with the following

PHP Code:

LIMIT 30 

as you can see 30 could be any number you would like

and good luck everyone


All times are GMT. The time now is 11:13 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.01158 seconds
  • Memory Usage 1,717KB
  • 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
  • (3)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete