vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   End-User Options - Member Info Latest Threads (https://vborg.vbsupport.ru/showthread.php?t=151410)

chikkoo 10-23-2007 08:47 AM

Quote:

Originally Posted by bigcurt (Post 1360431)
It would be so amazing if we could have a way to filter this by forum..exclude which forums we like and all.

I second this idea. This would be very useful to choose the forums to include or exclude.

Also making separate header for each forum, like in vbulletin.org, would be great idea.

Commisat 10-29-2007 05:24 PM

thank Atakan

rolfw1 10-29-2007 05:51 PM

Excellent, thanks. :)

BadgerDog 10-30-2007 02:34 PM

Un-installed....

I'm not sure why, but on our system this mod has issues. It doesn't seem to show reconcile properly against the threads any member has posted in, that are shown when you use the profile option to display them.... :confused:

Thanks anyway... :)

Regards,
Badger

suvari1794 11-08-2007 02:31 PM

uzun b?l?m adları kısaltılabilir, ??nk? sayfayı aşırı genişletebiliyor bazı b?l?mlerin isimleri :)

nice add-on :)

numsi 11-10-2007 04:17 AM

Great Work Atakan.
Installed.
Looks great.

Just one little thing.

Before or after install you have to change the Version number of the product from 1.1.0 to 1.10.

If not you get always the message for an updated version from the "product check system" of your Board.


Before the Installation.

Find in product-mlt110:

Code:

<product productid="mlt" active="1">
        <title>Member Info Latest Threads</title>
        <description />
        <version>1.1.0</version>
        <url>https://vborg.vbsupport.ru/showthread.php?threadid=151410</url>

Change to:

Code:

<product productid="mlt" active="1">
        <title>Member Info Latest Threads</title>
        <description />
        <version>1.10</version>
        <url>https://vborg.vbsupport.ru/showthread.php?threadid=151410</url>

Or after the installation go to:

Admin CP ->Manage Products -> Member Info Latest Threads -> edit
and change there the version number to 1.10


Cheers
numsi

michaelsilvia 11-17-2007 03:29 AM

From what I can tell the coder added:
Disallow Forum ID:

So, you can filter this.

NFLfbJunkie 11-27-2007 03:34 AM

How can I change the "posted by" column to "last post by" since this is what displays in this column - who posted the last post.

yahoooh 12-03-2007 11:18 PM

does it show threads from restrected forums?

soletrader 12-03-2007 11:34 PM

The thread box is too wide and elongates my template. Which template can I go into to remove the views and replies column?

Zerovb 12-04-2007 12:34 AM

Thanks Installed

thefullmaza 12-04-2007 01:51 AM

thank you very much

gnubittol 12-14-2007 08:51 AM

tks ;) ( installed! )

cSh 12-14-2007 12:18 PM

thank you no problem (ellerine sağlık teşekkür ettim)

Konstantinos 12-25-2007 04:45 PM

it doesnt show correct in styles that do not have backround border in style manager and in MEMBERINFO ONLY, its streches to the left and right side of the monitor

gforce75 12-26-2007 03:37 PM

Try this... open the product and replace it with this code. The only thing I did was I shrunk the tables down to 90%, delete the view, replys, and date column. I expanded the size of the forum name column... so all I did was deletions. This is still the authors work.

If you want to see an example where I shrunk it down, check this link of a profile of a member
http://myffnet.com/forum/member.php?u=39
----------------------------------------------------------
<?xml version="1.0" encoding="ISO-8859-1"?>

<product productid="mlt" active="1">
<title>Member Info Latest Threads</title>
<description />
<version>1.1.0</version>
<url>https://vborg.vbsupport.ru/showthread.php?threadid=151410</url>
<versioncheckurl><![CDATA[https://vborg.vbsupport.ru/misc.php?do=checkversion&t=151410]]></versioncheckurl>
<apm_releasedate>1183611600</apm_releasedate>
<apm_author>H. Atakan KOC</apm_author>
<apm_relatedurl />
<apm_extrainfo />
<apm_extraedit />
<dependencies>
</dependencies>
<codes>
</codes>
<templates>
<template name="milt_thread" templatetype="template" date="1183625412" username="Zero Relax" version=""><![CDATA[<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="90%" align="center">
<tr>
<td width="90%" nowrap="nowrap" class="tcat" colspan="6"><div class="smallfont"><strong>$userinfo[username] - $vbphrase[milt_milt]</strong></div></td>
</tr>

<tr>
<td width="60%" nowrap="nowrap" class="thead"><div class="smallfont">$vbphrase[milt_thread]</div></td>
<td width="15%" class="thead"><div class="smallfont">$vbphrase[milt_last_poster]</div></td>
<td width="25%" nowrap="nowrap" class="thead"><div class="smallfont">$vbphrase[milt_forum]</div></td>
</tr>
$lt_bits
</table>
<br />]]></template>
<template name="milt_thread_bits" templatetype="template" date="1183625990" username="Zero Relax" version=""><![CDATA[<tr>
<td nowrap="nowrap" class="alt1" title="$gthread[message]">
<div class="smallfont">
<strong>
<img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$gthread_newpost.gif" alt="" border="0" /> <a href="showthread.php?$session[sessionurl]goto=newpost&amp;t=$gthread[threadid]">$gthread[title]</a>
</strong>
</div>
</td>

<td nowrap="nowrap" class="alt1">
<div class="smallfont">
<a href="member.php?$session[sessionurl]u=$gthread[userid]">$gthread[musername]</a>
</div>
</td>





<td nowrap="nowrap" class="alt1">
<div class="smallfont">
<a href="forumdisplay.php?$session[sessionurl]f=$gthread[forumid]">$gthread[forum_title]</a>
</div>
</td>
</tr>]]></template>
</templates>
<plugins>
<plugin active="1" executionorder="5">
<title>Member Info Latest Threads</title>
<hookname>cache_templates</hookname>
<phpcode><![CDATA[if (THIS_SCRIPT == "member" and $vbulletin->options['milt_onoff'])
{
$globaltemplates[] = 'milt_thread';
$globaltemplates[] = 'milt_thread_bits';
}]]></phpcode>
</plugin>
<plugin active="1" executionorder="5">
<title>Member Info Latest Threads</title>
<hookname>member_complete</hookname>
<phpcode><![CDATA[if ($vbulletin->options['milt_onoff'])
{
$milt_memberid = $userinfo['userid'];

$miltmax = intval($vbulletin->options['milt_count']);
if ($miltmax <= 0) {
$miltmax = '10';
}

$excludedforums = '';
if ($vbulletin->options['milt_df'] !== '') {
$excludedforums = ',' . $vbulletin->options['milt_df'];
}
$forumpermissions = array();
foreach($vbulletin->forumcache AS $forum) {

$forumpermissions[$forum["forumid"]] = fetch_permissions($forum['forumid']);

if (!($forumpermissions[$forum["forumid"]] & $vbulletin->bf_ugp_forumpermissions['canview']) AND !$vbulletin->options['showprivateforums']) {
$excludedforums = $excludedforums . ',' . $forum['forumid'];
}
}
unset($forum);

// get rid of initial comma
$excludedforums = substr($excludedforums, 1);


if ($excludedforums != "") {
$excludedforums = "AND thread.forumid NOT IN ($excludedforums)";
}

$gthreads = $db->query_read("
SELECT
thread.threadid, thread.title, thread.lastpost, thread.forumid,
thread.replycount, thread.lastposter, thread.dateline,
IF(thread.views<=thread.replycount, thread.replycount+1, thread.views) AS views,
thread.visible, user.username, user.userid, user.usergroupid,
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid,
forum.title_clean as forum_title, post.pagetext AS message, post.allowsmilie, post.postid
FROM " . TABLE_PREFIX . "thread AS thread
LEFT JOIN " . TABLE_PREFIX . "user AS user ON (user.username = thread.lastposter)
LEFT JOIN " . TABLE_PREFIX . "forum as forum on (thread.forumid = forum.forumid)
LEFT JOIN " . TABLE_PREFIX . "post AS post ON (post.postid = thread.firstpostid)
WHERE 1=1
$excludedforums
AND thread.visible = 1
AND post.visible = 1
AND open <> 10
AND thread.postuserid = $milt_memberid
ORDER BY thread.dateline DESC
LIMIT $miltmax");

if ($db->num_rows($gthreads))
{
while ($gthread = $db->fetch_array($gthreads))
{

$gthread['message'] = strip_quotes($gthread['message']);
$gthread['message'] = htmlspecialchars_uni(fetch_censored_text(fetch_tri mmed_title(
strip_bbcode($gthread['message'], false, true),
$vbulletin->options['threadpreview']
)));

$gthread['title'] = htmlspecialchars($gthread['title']);
$trans = array("&amp;" => "&");
$gthread['title'] = strtr ($gthread['title'], $trans);

if ($getstats_thread[lastpost] > $vbulletin->userinfo['lastvisit'])
{
$gthread_newpost = 'new';
}
else
{
$gthread_newpost = 'old';
}

$gthread[musername] = fetch_musername($gthread);

$gnpdate = vbdate($vbulletin->options['dateformat'], $gthread['dateline'], true);
$gnptime = vbdate($vbulletin->options['timeformat'], $gthread['dateline']);

eval('$lt_bits .= "' . fetch_template('milt_thread_bits') . '";');

}
eval('$lt_thread .= "' . fetch_template('milt_thread') . '";');
$footer = $lt_thread.$footer;
}
$db->free_result($gthreads);
}]]></phpcode>
</plugin>
</plugins>
<phrases>
<phrasetype name="GLOBAL" fieldname="global">
<phrase name="milt_datetime" date="1183625343" username="Zero Relax" version=""><![CDATA[Date and Time]]></phrase>
<phrase name="milt_forum" date="1183625404" username="Zero Relax" version=""><![CDATA[Forum]]></phrase>
<phrase name="milt_last_poster" date="1183625310" username="Zero Relax" version=""><![CDATA[Posted By]]></phrase>
<phrase name="milt_milt" date="1183624768" username="Zero Relax" version=""><![CDATA[Latest Threads]]></phrase>
<phrase name="milt_replies" date="1183625385" username="Zero Relax" version=""><![CDATA[Replies]]></phrase>
<phrase name="milt_thread" date="1183625268" username="Zero Relax" version=""><![CDATA[Latest Threads]]></phrase>
<phrase name="milt_views" date="1183625366" username="Zero Relax" version=""><![CDATA[Views]]></phrase>
</phrasetype>
<phrasetype name="vBulletin Settings" fieldname="vbsettings">
<phrase name="setting_milt_count_desc" date="1183622760" username="Zero Relax" version="1.0.0"><![CDATA[This option limits the maximum amount of records that can be returned by the latest threads.]]></phrase>
<phrase name="setting_milt_count_title" date="1183622760" username="Zero Relax" version="1.0.0"><![CDATA[Maximum Number Of Threads Show]]></phrase>
<phrase name="setting_milt_df_desc" date="1183623377" username="Zero Relax" version="1.0.0"><![CDATA[Sparate Forums ID By Comma]]></phrase>
<phrase name="setting_milt_df_title" date="1183623377" username="Zero Relax" version="1.0.0"><![CDATA[Disallow Forum ID]]></phrase>
<phrase name="setting_milt_onoff_desc" date="1183622620" username="Zero Relax" version="1.0.0"><![CDATA[Enable Member Info Latest Threads (Yes/No)]]></phrase>
<phrase name="setting_milt_onoff_title" date="1183622620" username="Zero Relax" version="1.0.0"><![CDATA[Enable Member Info Latest Threads]]></phrase>
<phrase name="settinggroup_milt_settings" date="1183622530" username="Zero Relax" version="1.0.0"><![CDATA[Member Info Latest Threads]]></phrase>
</phrasetype>
</phrases>
<options>
<settinggroup name="milt_settings" displayorder="65535">
<setting varname="milt_onoff" displayorder="10">
<datatype>boolean</datatype>
<optioncode>yesno</optioncode>
<defaultvalue>1</defaultvalue>
</setting>
<setting varname="milt_count" displayorder="20">
<datatype>number</datatype>
<defaultvalue>10</defaultvalue>
</setting>
<setting varname="milt_df" displayorder="30">
<datatype>free</datatype>
<defaultvalue>0</defaultvalue>
</setting>
</settinggroup>
</options>
<helptopics>
</helptopics>
<cronentries>
</cronentries>
<faqentries>
</faqentries>
</product>

thefullmaza 12-30-2007 09:42 PM

thanks clicks install DEMO enjoy

Borden 01-02-2008 07:45 PM

This stretches the member profile page especially when the title of the thread is really long. Is there away I can make it conform to the proper size?

suvari1794 01-06-2008 09:58 PM

thanks but you can do long thread title cut
if thread title is very long, member profile page is more widely :)

ArbStar 01-10-2008 03:08 AM

thanks ,,very nice.

i will install it today .

RedGTiVR6 02-27-2008 05:57 PM

Any word if this will work in 3.7?

rnixon 03-05-2008 12:40 PM

Many thanks, couldn't have been any easier...

Tompa85 03-07-2008 08:43 PM

<a href="http://koinos.de" target="_blank">Installed</a>

Rideharder 03-08-2008 02:22 AM

sweet

chikkoo 03-12-2008 06:23 AM

Quote:

Originally Posted by chikkoo (Post 1366595)
I second this idea. This would be very useful to choose the forums to include or exclude.

Also making separate header for each forum, like in vbulletin.org, would be great idea.

No comment on this?
Nobody liked this idea to have vb.org type of member info page?

saotome 03-12-2008 02:42 PM

thanks, installed

HDT 03-20-2008 06:57 PM

Is possible added latest post made by current members

KeyHunterz 04-03-2008 04:22 AM

Us there a way to make this obly include certain forums??

Triky 04-29-2008 12:14 PM

Great! Thanks.

codershark 04-29-2008 12:54 PM

will it work on 3.7 ?

tuwebfacil 04-30-2008 02:53 AM

Quote:

Originally Posted by codershark (Post 1502263)
will it work on 3.7 ?

anyone? :)

gim 05-02-2008 12:03 AM

Great!

sdavis2702 05-02-2008 08:15 AM

awesome thanks!

ShadowOne 05-23-2008 07:35 PM

Quote:

Originally Posted by codershark (Post 1502263)
will it work on 3.7 ?

Yes Working For Me On 3.7

yahoooh 08-28-2008 01:13 AM

how to make it show in block for 3.7.3
it is now show in the whole page under the profile

Subah 08-28-2008 04:24 AM

Quote:

Originally Posted by yahoooh (Post 1608632)
how to make it show in block for 3.7.3
it is now show in the whole page under the profile

Great idea :cool:

Noctavia 10-09-2008 01:55 AM

Quote:

Originally Posted by KeyHunterz (Post 1481637)
Us there a way to make this obly include certain forums??

Anyone know if this is possible?

Quote:

I second this idea. This would be very useful to choose the forums to include or exclude.

Also making separate header for each forum, like in vbulletin.org, would be great idea.
Or even better, THIS!

Xeonspider 02-15-2009 09:17 AM

Who can I solve this?

Attachment 94910

New Joe 06-28-2009 02:49 PM

Is there any reason why it's only Mods and Admin who can see the Threads?
My registered members can't.

www.nofal 07-29-2012 11:57 AM

Good Work


All times are GMT. The time now is 12:53 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.01358 seconds
  • Memory Usage 1,842KB
  • 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
  • (2)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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