Page 2 of 2 FirstFirst 12
Results 21 to 39 of 39

Thread: BT - CMPS Module: Users avatar recent threads.

  1. #21
    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?

  2. #22

    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

  3. #23
    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

  4. #24
    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
    <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
    <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

  5. #25

    Default

    I'm glad then (:

  6. #26

    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

  7. #27

    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>

  8. #28
    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?

  9. #29
    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

  10. #30
    Join Date
    May 2010
    Posts
    5

    Default

    Oh my god it was a plugin sory now works very well thanks BlackThorn

  11. #31
    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

  12. #32
    Join Date
    Jan 2011
    Posts
    1

    Default

    thx man worck

  13. #33
    Join Date
    May 2004
    Posts
    101

    Default

    Beautiful! Thank you!

  14. #34
    Join Date
    Mar 2008
    Posts
    4

    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

  15. #35
    Join Date
    Jan 2011
    Posts
    5

    Default

    have error ??

    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

  16. #36
    Join Date
    Oct 2007
    Location
    t.dot b.dot
    Posts
    34

    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

  17. #37
    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>

  18. #38
    Join Date
    Jan 2013
    Posts
    16

    Default

    Would this work in vb4.2.1???

    Thanks!

  19. #39
    Join Date
    Jan 2013
    Posts
    16

    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.

Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. CMPS Module: Recent Threads [Avatar & Date Title]
    By BlackThorn in forum Add-On Modules (version 3.x & 2.x)
    Replies: 9
    Last Post: 01-01-2017, 06:51 PM
  2. Replies: 1
    Last Post: 01-16-2010, 03:28 PM
  3. remove ignored users thread from recent threads list?
    By Skedoozy in forum "How Do I..." Questions
    Replies: 7
    Last Post: 12-07-2007, 06:17 PM
  4. CMPS for 3.6.x problem with Recent Threads module
    By Tungsten in forum Troubleshooting & Problems
    Replies: 33
    Last Post: 08-14-2006, 02:52 PM
  5. Online Users Module - Show Avatar instead of names
    By yinyang in forum Module & Modification Discussion & Requests
    Replies: 4
    Last Post: 03-15-2006, 03:03 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •