Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 03-17-2007, 04:13 PM
aveon's Avatar
aveon aveon is offline
 
Join Date: May 2006
Posts: 410
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Modifications Hack??

hey guys

i have a question for this sites developers u guys have the modifications which a person disd on their profile i want to the same thing for my site




just like the one in the picture above


thnnx
Reply With Quote
  #2  
Old 03-17-2007, 04:43 PM
Luky Luky is offline
 
Join Date: Oct 2006
Location: Australia
Posts: 595
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Search and you shall find, not only in this forum too.
Reply With Quote
  #3  
Old 03-18-2007, 12:28 AM
aveon's Avatar
aveon aveon is offline
 
Join Date: May 2006
Posts: 410
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Luky View Post
Search and you shall find, not only in this forum too.
wat do i serach for tho i i dnt kno te name of this hack is its out
Reply With Quote
  #4  
Old 03-18-2007, 02:04 AM
Luky Luky is offline
 
Join Date: Oct 2006
Location: Australia
Posts: 595
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I saw it somewhere before, i am pretty sure it wasnt free, cant remember... I think its from the same guy who made vBcart, if i recall its vBGeek.
Reply With Quote
  #5  
Old 03-18-2007, 02:43 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I modified this hack to do something like what vb does here: https://vborg.vbsupport.ru/showthread.php?t=61020 Basically, all vb is doing is listing the threads started by those users in certain forums, which is what that hack does.
Reply With Quote
  #6  
Old 03-18-2007, 04:55 AM
aveon's Avatar
aveon aveon is offline
 
Join Date: May 2006
Posts: 410
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hey man i tried to edit that but it didnt work for meh i did everything and it gave me some errors i fixed the errors than it gave me someother errors can u help me to work this out please

editt

i fixed he problem but now it dost show anythreads is tehre any line where we supposed to pud the forum id's??
Reply With Quote
  #7  
Old 03-22-2007, 01:14 AM
aveon's Avatar
aveon aveon is offline
 
Join Date: May 2006
Posts: 410
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i get the error below what im i doin wrong guys help me

Warnung: Wrong parameter count for implode() in /member.php (Zeile 499)

Fatal error: Call to a member function on a non-object in /kunden/137092_81737/www.e-paylas.de/forum/member.php on line 501

editted code
Code:
// THREADS
// By assassingod
// Dont forget to change the variables on line 394

$limit = '5';	// Enter the number of maximum threads you want to be displayed
$forumids = implode (78,75,76 ) ;

$getthreads = $DB_site->query("
	SELECT threadid,title,dateline
	FROM " . TABLE_PREFIX ."thread
	WHERE postuserid = '$userinfo[userid]' AND forumid NOT IN ('$forumids')
	ORDER BY dateline DESC
	LIMIT $limit
");


original code

Code:
// THREADS
// By assassingod
// Dont forget to change the variables on line 394

$limit = '5';	// Enter the number of maximum threads you want to be displayed
$forumids = implode ("', '", get_noaccess_forumids()) ;

$getthreads = $DB_site->query("
	SELECT threadid,title,dateline
	FROM " . TABLE_PREFIX ."thread
	WHERE postuserid = '$userinfo[userid]' AND forumid NOT IN ('$forumids')
	ORDER BY dateline DESC
	LIMIT $limit
");

	while($threads = $DB_site->fetch_array($getthreads))
	{
		exec_switch_bg();
		$threads['date'] = vbdate($vboptions['dateformat'],$threads['dateline']);
		$threads['time'] = vbdate($vboptions['timeformat'],$threads['dateline']);

		eval('$usersthreads .= "' . fetch_template('memberinfo_usersthreads') . '";');
	}
Reply With Quote
  #8  
Old 03-24-2007, 03:53 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Mine looks a bit different from yours. I use this thread a couple of times in the member.php page, here is one of them:

Code:
$limit = '10';	// Enter the number of maximum threads you want to be displayed

// for Vines forums
$getthreads = $DB_site->query("
	SELECT threadid,title,dateline,forumid
	FROM " . TABLE_PREFIX ."thread
	WHERE postuserid = '$userinfo[userid]' AND forumid IN ('62','63','64','65')
	ORDER BY dateline DESC
	LIMIT $limit
");
$valid = $DB_site->num_rows($getthreads);
if ($valid >= 1 ) 
	$numvines=true;

	while($threads = $DB_site->fetch_array($getthreads))
	{
		exec_switch_bg();
		$threads['date'] = vbdate($vboptions['dateformat'],$threads['dateline']);
		$threads['time'] = vbdate($vboptions['timeformat'],$threads['dateline']);

		eval('$usersthreads .= "' . fetch_template('memberinfo_usersthreads') . '";');
	}
I added a couple of lines because I only need this done if they have any threads in those forums.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:47 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04711 seconds
  • Memory Usage 2,232KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete