vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced Dynamics > vBa Dynamics v1.0 Support > "How Do I..." Questions

Reply
 
Thread Tools Display Modes
  #1  
Old 04-25-2011, 03:29 PM
cowcowcow cowcowcow is offline
Member
 
Join Date: Jul 2009
Posts: 40
Default How do i display by blog author link instead of author profile link?

Dear Brian,

the module in question is the "latest blogs" at the top left of the site.

After i used the search function i've learnt how to display the dynamic "whats new" module as a CMPS module.

The problem i have right now is i want the module to display the "Entry By Author" as a link to the Authors Blog rather then the Authors vbulletin profile page.

I've tried copying the code where it appears to work such as category, and replacing it in adv_dyna_entrybit_lean (which is the template im using) but it doesnt show up or work.
PHP Code:
<a href="$entry[membercatlink]rel="nofollow"><phrase 1="$vbphrase[entries_lwr]2="$entry[username]">$vbphrase[find_all_x_by_y]</phrase></a
Any help is much appreciated. Cheers.

A way to get rid of the horizontal table border line would be sweet too.

Last edited by cowcowcow; 11-21-2011 at 09:56 PM.
Reply With Quote
  #2  
Old 04-26-2011, 08:13 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default

You would need to change the link to point to "/blogs/browsecategory.php?do=member&entryuserid=$entry[userid]".
__________________
Frequently Asked Questions
CMPS Users Manual

For vBadvanced software assistance, please use the support forums.
Unsolicted PMs, IMs, and email will not be responded to.
If you have a non-software related question or problem with your account, please submit a support ticket.
Reply With Quote
  #3  
Old 04-28-2011, 01:45 PM
cowcowcow cowcowcow is offline
Member
 
Join Date: Jul 2009
Posts: 40
Default

Thanks so much brian, worked like a charm!

One last question, is it possible to have the "whatsnew" module display similar to the vbadvanced "recent threads" module? I.e the blogs are sorted by last post so when a new comment is made, the blog moves to the top and an orange icon appears next to new comments that take u directly to the latest comment. I only mean the whatsnew module at the top left (www.sc2sea.com), the category listing is perfectly fine as it is and no need for bumps there.

the only options i see in the CMS are to sort by random and by date which are both not ideal for me because all the other modules on the site works like the recent threads.

Thanks once again Brian, its for ur great support that i was happy to buy this module!
Reply With Quote
  #4  
Old 04-30-2011, 01:56 PM
cowcowcow cowcowcow is offline
Member
 
Join Date: Jul 2009
Posts: 40
Default

also is there a way to add the go to last post?

when i insert this into another module template(like the articles mod by bannanalive it works) but it doesnt work with the dynamics "whats new" module

PHP Code:
        <if condition="$mod_options['portal_threads_newpostarrow'] AND $show['gotonewpost']">
            <
a href="$vboptions[bburl]/showthread.php?$session[sessionurl]t=$thread[threadid]&amp;goto=newpost"><img alt="$vbphrase[go_to_first_new_post]src="$stylevar[imgdir_button]/firstnew.gif" border="0" class="inlineimg" /></a>
        </if> 
am i editing the correct template adv_dyna_entrybit_lean?
it seems i am!

please help brian
Reply With Quote
  #5  
Old 05-05-2011, 05:17 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default

Take a look through any of the 'adv_dyna_entrybit*' templates and you should find the code you need.
__________________
Frequently Asked Questions
CMPS Users Manual

For vBadvanced software assistance, please use the support forums.
Unsolicted PMs, IMs, and email will not be responded to.
If you have a non-software related question or problem with your account, please submit a support ticket.
Reply With Quote
  #6  
Old 05-12-2011, 12:52 PM
cowcowcow cowcowcow is offline
Member
 
Join Date: Jul 2009
Posts: 40
Default

that was what i was doing already, coudln't figure it out and still cant
i realised even my artciles new comment doesnt seem to be displaying right, it gets dispalyed even after pple has viewed the lastest comment already
Reply With Quote
  #7  
Old 05-16-2011, 12:46 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default

You would need to use something like this:
Code:
<a href="{vb:raw entry.lastposturl}"><img alt="" border="0" src="{vb:stylevar imgdir_button}/lastpost-{vb:stylevar right}.png" title="{vb:rawphrase go_to_last_post}" /></a> {vb:rawphrase last_post_by}
			<vb:if condition="$entry['lastpostuserid']">
				<a href="{vb:raw vboptions.bburl}/{vb:link member, {vb:raw entry}, null, 'lastpostuserid', 'lastpostusername'}">{vb:raw entry.lastpostusername}</a>
			<vb:else />
				{vb:rawphrase guest}
			</vb:if>
__________________
Frequently Asked Questions
CMPS Users Manual

For vBadvanced software assistance, please use the support forums.
Unsolicted PMs, IMs, and email will not be responded to.
If you have a non-software related question or problem with your account, please submit a support ticket.
Reply With Quote
  #8  
Old 05-25-2011, 10:54 AM
cowcowcow cowcowcow is offline
Member
 
Join Date: Jul 2009
Posts: 40
Default

my site is sc2sea.com you will understand immediately what i mean when you see it!

Brian i've tried that and it doesnt work, i think its for vb 4.0
the site im currertnly using is vb 3.8!!

also its quite different from what i want...... i dont want just a link to the last post, but rather for it to be displayed ONLY if its a new post, similar to how the recentthreads module in vbadvanced work and this is the code for it.

PHP Code:
 <a href="$vboptions[bburl]/showthread.php?$session[sessionurl]t=$thread[threadid]&amp;goto=newpost"><img alt="$vbphrase[go_to_first_new_post]src="$stylevar[imgdir_button]/firstnew.gif" border="0" class="inlineimg" /></a
when i tried pasting it in the dymanics section it doesnt work cause i assume they use different links as in not showthread etc but i dont know what else to put and its been bugging me for 2 months now!!

thanks brian
Reply With Quote
  #9  
Old 05-26-2011, 09:36 AM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default

Sorry, that code was for vB4. Try this for vB3:
Code:
				<if condition="$entry['lastpostuserid']">
					<a href="$vboptions[bburl]/member.php?$session[sessionurl]u=$entry[lastpostuserid]">$entry[lastpostusername]</a>
				<else />
					$vbphrase[guest]
				</if>
				<a href="$entry[lastposturl]"><img alt="" border="0" src="$stylevar[imgdir_button]/lastpost.gif" title="$vbphrase[go_to_last_post]" /></a>
__________________
Frequently Asked Questions
CMPS Users Manual

For vBadvanced software assistance, please use the support forums.
Unsolicted PMs, IMs, and email will not be responded to.
If you have a non-software related question or problem with your account, please submit a support ticket.
Reply With Quote
  #10  
Old 05-27-2011, 07:33 PM
cowcowcow cowcowcow is offline
Member
 
Join Date: Jul 2009
Posts: 40
Default

brian the code you give me works but as i mentioned it above it does something very different from what i want.

i dont want just a link to the last post, but rather for it to be displayed ONLY if its a new post, similar to how the recentthreads module in your vbadvanced works and this is the code that you use there

PHP Code:
 <a href="$vboptions[bburl]/showthread.php?$session[sessionurl]t=$thread[threadid]&amp;goto=newpost"><img alt="$vbphrase[go_to_first_new_post]src="$stylevar[imgdir_button]/firstnew.gif" border="0" class="inlineimg" /></a
but when i try pasting it in the dymanics section it doesnt work cause i assume they use different links as in not showthread etc but i dont know what else to put and its been bugging me for 2 months now!!

thanks brian
Reply With Quote
  #11  
Old 06-01-2011, 10:41 AM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default

I'm sorry, I thought you were asking about the "last post" button. Dynamics does not keep track of the last post a member read, so there's not going to be an easy way to do that.
__________________
Frequently Asked Questions
CMPS Users Manual

For vBadvanced software assistance, please use the support forums.
Unsolicted PMs, IMs, and email will not be responded to.
If you have a non-software related question or problem with your account, please submit a support ticket.
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
How do I display a certain users Blog on home? dannykilla Module & Modification Discussion & Requests 3 03-16-2009 10:48 PM
Display Blog Stats and Online Members?? Xhaiden "How Do I..." Questions 2 02-09-2009 07:39 PM
Blog entry to display on CMPS page LenB "How Do I..." Questions 5 03-19-2008 03:28 PM
Blog to display avatar picture angkor408 Module & Modification Discussion & Requests 1 01-30-2008 12:25 PM


All times are GMT -4. The time now is 10:45 AM.

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.