PDA

View Full Version : Modifications Hack??


aveon
03-17-2007, 04:13 PM
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

http://img57.imageshack.us/img57/5986/assfo0.png


just like the one in the picture above


thnnx

Luky
03-17-2007, 04:43 PM
Search and you shall find, not only in this forum too. ;)

aveon
03-18-2007, 12:28 AM
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

Luky
03-18-2007, 02:04 AM
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.

Lynne
03-18-2007, 02:43 AM
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.

aveon
03-18-2007, 04:55 AM
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??

aveon
03-22-2007, 01:14 AM
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
// 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

// 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') . '";');
}

Lynne
03-24-2007, 03:53 PM
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:

$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.