vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > Add-On Modules & Modifications > vBa CMPS v4.x > Add-On Modules (version 4.x)

Reply
 
Thread Tools Display Modes
  #21  
Old 10-12-2010, 10:05 AM
Sectomy Sectomy is offline
Junior Member
 
Join Date: Jan 2009
Posts: 10
Default

Very good questions, so I decided to install the standart VB style without any modification and it work for me:
the button let me jump directly to the last unread post

then I tried the link in style with your template modification:
and the link is not working for me.

then I did the template modifications again in the standart working vb style in adv_portal_recthreads_exp and adv_portal_recthreads_exp_head and checked the links in the portal again:
That means the arrow does not work after your template changes. Definitely the only difference I see is & instead of ?

are you really sure theres no mistake in the replacement code in your first post?
Reply With Quote
  #22  
Old 10-14-2010, 05:06 PM
angkor408's Avatar
angkor408 angkor408 is offline
Member
 
Join Date: Aug 2006
Posts: 94
Default

Cool. Mod. Thx.. I noticed there (Başlatan) next to time and date. Is there a way I can edit that and remove?

Thx
__________________
Cambodian Cyber Web Community
Reply With Quote
  #23  
Old 10-15-2010, 01:59 AM
Sectomy Sectomy is offline
Junior Member
 
Join Date: Jan 2009
Posts: 10
Default

Quote:
Originally Posted by angkor408 View Post
Cool. Mod. Thx.. I noticed there (Başlatan) next to time and date. Is there a way I can edit that and remove?

Thx

open your adv_portal_recthreads_exp_head and remove or replace the word Başlatan
Reply With Quote
  #24  
Old 10-15-2010, 02:13 AM
Sectomy Sectomy is offline
Junior Member
 
Join Date: Jan 2009
Posts: 10
Default

Quote:
Originally Posted by BlackThorn View Post
Thanks for thanks. Well - If you try that to when you are "guest", then that "unread new post" link working awesome. Yes the last post links okay but I guess, there is a problem when an user log in in your vBA CMPS Portal. But I would guess it can be a vBulletin-4-SEO problem because when I've click that new unread first post or the last post, then link formats has been changed by vB4-SEO Friendly url or really still I can't understand it or this is just module problem. And please note that is not my works problem, that is just your vBulletin site problem or I said, vBA CMPS module problem I'm not sure so much however, you can create a ticket to here or vBulletin.com support service.

I don't care that option "unread new post" in my site because it's not useful so much however "the last post" links very useful. Really I would suggest to you only using "the last post" links in your site. OR I just think now and guess remember some thinks for that. When you log in for example 2 hours and you will leave your site so, when you leave (logout) then try "logout" link and closed. Hold on and log in an another user and try that "unread new posts" again. Because, I would guess cookies must be remove on your browser or really I'm confusing now so, I'm so sorry...

Best Regards.

fixed this morning

open your changed adv_portal_recthreads_exp

search for
Quote:
<a href="{vb:raw vboptions.bburl}/{vb:link thread, {vb:raw thread}}&amp;goto=newpost"><img alt="{vb:rawphrase go_to_first_new_post}" src="{vb:stylevar imgdir_button}/firstnew.png" border="0" class="inlineimg" /></a>
and replace with
Quote:
<a href="{vb:raw vboptions.bburl}/{vb:link thread, {vb:raw thread}, {vb:raw pageinfo_newpost}}"><img alt="{vb:rawphrase go_to_first_new_post}" src="{vb:stylevar imgdir_button}/firstnew.png" border="0" class="inlineimg" /></a>
thats it
Reply With Quote
  #25  
Old 10-16-2010, 06:19 PM
BlackThorn BlackThorn is offline
Coder
 
Join Date: Feb 2010
Posts: 159
Default

I'm glad then (:
Reply With Quote
  #26  
Old 11-25-2010, 07:12 AM
tintin74 tintin74 is offline
Member
 
Join Date: Oct 2007
Posts: 74
Default

Hello, I need to show the last poster avatar and not the avatar of the thread starter. Does anyone knows how to modify the plugin to do that?

Thank you
Reply With Quote
  #27  
Old 11-25-2010, 07:23 AM
tintin74 tintin74 is offline
Member
 
Join Date: Oct 2007
Posts: 74
Default

Solved....

Code:
<?xml version="1.0" encoding="ISO-8859-1"?>

<plugins>
	<plugin active="1" executionorder="5" product="vbulletin">
		<title>BT - Avatar CMPS Recent Thread STARTERS</title>
		<hookname>vba_cmps_module_recthreadsbits</hookname>
		<phpcode><![CDATA[require_once('./includes/functions_user.php');
if($thread[lastposterid])
{
   $thread[avatarurl] = fetch_avatar_url($thread[lastposterid]);
     if (!$thread[avatarurl]) {
                    $thread[avatarurl] = $stylevar['imgdir_misc'] . 'images/misc/unknown.gif';
                  } else {
                    $thread[avatarurl] = $vbulletin->options['bburl'] . '/' . $thread[avatarurl][0];
                  }
}]]></phpcode>
	</plugin>
</plugins>
Reply With Quote
  #28  
Old 11-27-2010, 06:53 AM
Lustikus Lustikus is offline
Junior Member
 
Join Date: Dec 2007
Posts: 15
Default

Thank you

But how can I have both? One column including thread starter as well as another column including the last poster avatar?
Reply With Quote
  #29  
Old 12-08-2010, 02:57 PM
AlbCoder AlbCoder is offline
Junior Member
 
Join Date: May 2010
Posts: 5
Default

I Can't upload the module xml

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/admincp/vba_cmps_admin.php on line 4027

any Idea
Reply With Quote
  #30  
Old 12-21-2010, 07:48 AM
AlbCoder AlbCoder is offline
Junior Member
 
Join Date: May 2010
Posts: 5
Default

Oh my god it was a plugin sory now works very well thanks BlackThorn
Reply With Quote
  #31  
Old 01-28-2011, 01:08 PM
Pinto Pony Pinto Pony is offline
Junior Member
 
Join Date: Jan 2011
Location: Rhode Island
Posts: 4
Default

Thanks, I installed it and it looks great. Just the thing I was looking for
Reply With Quote
  #32  
Old 01-29-2011, 09:47 PM
black26 black26 is offline
Junior Member
 
Join Date: Jan 2011
Posts: 1
Default

thx man worck
Reply With Quote
  #33  
Old 03-29-2011, 02:07 PM
Rebecca Rebecca is offline
Member
 
Join Date: May 2004
Posts: 96
Default

Beautiful! Thank you!
Reply With Quote
  #34  
Old 06-17-2011, 01:31 AM
SEW81O's Avatar
SEW81O SEW81O is offline
Junior Member
 
Join Date: Mar 2008
Posts: 1
Default

Such a great job. Thnx

Just don't forget ppl:

At 3rd line change the word Ba& #351;latan&nbsp; for Avatar

Regards !!

Quote:
Originally Posted by BlackThorn View Post
BT - vBa CMPS Module: Recent Thread Thread (Starters Avatar)

Step 3: Open your adv_portal_recthreads_exp_head template and all codes replace with;

PHP Code:
<tr>
<
vb:if condition="$mod_options['portal_threads_showicon']">    
<
td class="blocksubhead" width="2%">Ba&#351;latan&nbsp;</td></vb:if>
<td class="blocksubhead" width="50%">
<
vb:if condition="$mod_options['portal_threads_showrating']">
<
span style="float:{vb:stylevar right}">{vb:rawphrase rating}</span></vb:if>{vb:rawphrase title_username_date}</td>
<
vb:if condition="$mod_options['portal_threads_lastpost']">
<
td align="center" class="blocksubhead" style="white-space: nowrap" width="25%">{vb:rawphrase last_post}</td></vb:if>
<
vb:if condition="$mod_options['portal_threads_replies']">
<
td class="blocksubhead" width="2%">{vb:rawphrase replies}</td>
</
vb:if>
<
vb:if condition="$mod_options['portal_threads_views']">
<
td class="blocksubhead" width="2%">{vb:rawphrase views}</td>
</
vb:if>
<
vb:if condition="$mod_options['portal_threads_showforum']">
<
td align="center" class="blocksubhead" width="20%">{vb:rawphrase forum}</td>
</
vb:if>
</
tr
Reply With Quote
  #35  
Old 07-31-2011, 12:37 PM
hambalie hambalie is offline
Junior Member
 
Join Date: Jan 2011
Posts: 5
Default

have error ??

Quote:
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/admincp/vba_cmps_admin.php on line 4086
please fix this error
Reply With Quote
  #36  
Old 03-01-2012, 12:01 PM
too_cool_3's Avatar
too_cool_3 too_cool_3 is offline
Member
 
Join Date: Oct 2007
Location: t.dot b.dot
Posts: 31
Default

Dear BlackThorn,

Can you update this mod to work with vB 4.1.10 and vBa 4.2.0? That would be amazing as this is a really good add-on.

Warm Regards,
Marc
__________________
TBMOTORING - Thunder Bay Automotive Enthusiast Club
http://tbmotoring.com
Reply With Quote
  #37  
Old 12-23-2012, 01:16 AM
Pradevil Pradevil is offline
Junior Member
 
Join Date: Jul 2012
Posts: 1
Default

Quote:
Originally Posted by too_cool_3 View Post
Dear BlackThorn,

Can you update this mod to work with vB 4.1.10 and vBa 4.2.0? That would be amazing as this is a really good add-on.

Warm Regards,
Marc
put below code somewhere(after </td> tag) on your adv_portal_recthreads_exp
Code:
<td class="blockrow"><img height="30" width="30" class="inlineimg" src="{vb:raw thread.avatarurl}" border="0" alt="{vb:raw thread.postusername}" /></td>
Attached Files
File Type: xml Recent Threads Avatar CMPS.xml (659 Bytes, 2 views)
Reply With Quote
  #38  
Old 06-10-2013, 11:06 AM
rexall's Avatar
rexall rexall is offline
Junior Member
 
Join Date: Jan 2013
Posts: 10
Default

Would this work in vb4.2.1???

Thanks!
Reply With Quote
  #39  
Old 06-19-2013, 06:46 AM
rexall's Avatar
rexall rexall is offline
Junior Member
 
Join Date: Jan 2013
Posts: 10
Default

This sure is a sweet MOD! The block is anemic-looking without avatars. Is there any way this would work in VB 4.2.1? Is is there another similar MOD? Or is anyone willing to modify it? Thanks for any reply.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
CMPS Module: Recent Threads [Avatar & Date Title] BlackThorn Add-On Modules (version 3.x & 2.x) 7 04-17-2010 01:21 PM
Guests not seeing most recent posts in vbadvanced recent threads module sfnet Troubleshooting & Problems 1 01-16-2010 02:28 PM
remove ignored users thread from recent threads list? Skedoozy "How Do I..." Questions 7 12-07-2007 05:17 PM
CMPS for 3.6.x problem with Recent Threads module Tungsten Troubleshooting & Problems 33 08-14-2006 01:52 PM
Online Users Module - Show Avatar instead of names yinyang Module & Modification Discussion & Requests 4 03-15-2006 02:03 PM


All times are GMT -4. The time now is 11:00 PM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.