vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Miscellaneous Hacks - User's Last XX Threads + Posts in UserCP (https://vborg.vbsupport.ru/showthread.php?t=79759)

skokarl 04-21-2005 10:35 AM

I have tested something ....

I have

"WHERE thread.postuserid = $bbuserinfo[userid]
AND thread.visible = 1


deleted ...

and now I thing it's okay.

Marco van Herwaarden 04-21-2005 11:05 AM

You should leave:
PHP Code:

WHERE thread.visible 

Or all deleted posts will also show up.

skokarl 04-21-2005 11:34 AM

a last question, please..

How can I change the format from Date to Date AND Time ?

This is my dream .... :nervous:

tnguy3n 04-21-2005 08:15 PM

Quote:

Originally Posted by skokarl
a last question, please..

How can I change the format from Date to Date AND Time ?


This is my dream .... :nervous:

For example, to add time to lastposts
PHP Code:

$threadtime vbdate($vboptions['timeformat'], $lastpost['threaddate']); 

in lastpostlist postbit, ADD:
HTML Code:

at $threadtime

lefthome 04-22-2005 12:24 PM

Attempting to install this hack and will click install, if successful.

Followed your instructions and found the first ‘usercp_reputationbits’ and changed that.

FILE MODIFICATION:

OPEN usercp.php (2 changes),

1. FIND:

'usercp_reputationbits'

REPLACE WITH:

'usercp_reputationbits',
'usercp_lastthreads',
'usercp_lastthreadsbit',
'usercp_lastposts',
'usercp_lastpostsbit'

The issue is the second set. This is what I found…Solution?

$reputation['title'] = substr($reputation['title'], 0, 23) . '...';
}
eval('$reputationcommentbits .= "' . fetch_template('usercp_reputationbits') . '";');
$show['reputation'] = true;

Marco van Herwaarden 04-22-2005 12:34 PM

Only the first in the top of the file.

folkish 04-22-2005 02:53 PM

Installed today, works fine.

lefthome 04-23-2005 02:27 PM

Thank you very much MarcoH64.

Installed and works fine. 3.07

xellos16 04-24-2005 01:46 PM

I am having a little problem with my code. How do I save my page as an image so that I can show you want it is looking like?

tnguy3n 04-24-2005 02:01 PM

can you post screenshot of the page pls?


All times are GMT. The time now is 06:18 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.01145 seconds
  • Memory Usage 1,735KB
  • 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
  • (1)bbcode_html_printable
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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