vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Modifications Hack?? (https://vborg.vbsupport.ru/showthread.php?t=142316)

aveon 03-17-2007 04:13 PM

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

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

Quote:

Originally Posted by Luky (Post 1205708)
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
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') . '";');
        }


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:

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.


All times are GMT. The time now is 08:45 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.02629 seconds
  • Memory Usage 1,730KB
  • 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_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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