![]() |
How can I get the usernames sisplayed in the 'Latest forum threads' section when clicked on to open in a new window?
|
If i want to change the display name to "The latest 20 threads" or similar would i change the phrase after CDATA below?
<phrase name="latest_threads"><![CDATA[Latest Threads]]></phrase> </phrasetype> </phrases> <options> </options> </product> |
Unfortately Onkel_Tom, that made no difference. On 3.6 guests can still see private threads showing up in the 'Latest threads' section of the homepage.
|
does anybody know how to make this hack visible on all pages???
|
<a href="http://www.vbulletin.com/forum/showthread.php?t=198968" target="_blank">http://www.vbulletin.com/forum/showthread.php?t=198968</a>
That´s also possible with this hack. |
could some add a join table function as to also enable to show what forum the threads are in. The get thread function within the mod already sees the forum id just need a join to get the name from the id.
|
Quote:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
hey Tom it didnt work mate or did i do something wrong i added the codes where you wanted me to add them and the latest posts still only visible on forum home how can i set permissions and make it visivle on all pages helpme please and i will come up with a really good design for side column...
|
Hello, I am having problems viewing the latest threads. Sometimes I can see it and sometimes I can't. I've tried clearing my cache and the cookies to no avail. Just when I give up, it will show again briefly, then poof, gone again. I mean, I had resined myself to not being able to see it, and it showed up an hour later after I did nothing. Any ideas what could be causing that? The same thing happens with my users, some can see it, some can't, and we didn't have this problem till I upgraded to 3.6. Thanks.
I have also tried re-importing the product and allowed overwrite. |
i am too getting an mysql error
Invalid SQL: ## GET LATEST THREADS ## SELECT thread.*,thread.iconid AS threadiconid , post.pagetext AS preview FROM CT_thread AS thread LEFT JOIN CT_deletionlog AS deletionlog ON(thread.threadid = deletionlog.primaryid AND type = 'thread') LEFT JOIN CT_forum AS forum ON(forum.forumid = thread.forumid) LEFT JOIN CT_post AS post ON(post.postid = thread.firstpostid) WHERE open <> 10 AND forumid NOT IN (0) AND thread.visible = '1' AND deletionlog.primaryid IS NULL ORDER BY lastpost |
Awesome mod, and thanks Tom for the info on how to change the title length.
|
I've just noticed somthing regarding W3C and CCS validation. While it validates OK in W3C. It doesn't in CSS.
The problem seems to be the use of this in the latestthreadbit template. Code:
style="vertical-align: text-middle" |
Here is the fix, change this:
Change this code to in the "forumhome_latestthreadbit" template. Code:
<img src="$vboptions[bburl]/$thread[threadiconpath]" border="0" alt="$thread[threadicontitle]" title="$thread[threadicontitle]" style="vertical-align: text-middle" /> Code:
<img style="vertical-align: middle;" src="$vboptions[bburl]/$thread[threadiconpath]" border="0" alt="$thread[threadicontitle]" title="$thread[threadicontitle]" /> ------------------------------ You can also add this code in the same template to create a gap between the Thread Title and the Last Post details. Look For: Code:
<a href="showthread.php?t=$thread[threadid]" title="$thread[preview]"><strong>$thread[title]</strong></a> Code:
<a href="showthread.php?t=$thread[threadid]" title="$thread[preview]"><strong>$thread[title]</strong></a> |
Hi there, I'm looking for a hack just like this, for vB3.6.0 - but rather than have the thread appear at the bottom of the forumhome page, I'd like them listed in a coloum down the right-hand side of the page... Would this hack be easy to change for that purpose?
Thank you |
Quote:
|
Quote:
Quote:
Maybe I'll have a play around with it tomorrow, see if I can get it working the way I want. :) |
Yes, I guess you could just intruduce some <br /> into the lines.
|
I've successfully been able to edit the templates to achieve what I want, you can see the result here: http://theice.co.uk/ :D
|
I see, well done. I'm thinking you have removed some of the fields. But I'm wondering why you just didn't add some "<br />" in the right places to make the information drop below each other on its own line, so you could have kept a lot more fields displayed in the narrow column. Or did you only want displayed what you have: IE- thread title, time, name.
|
I decided that info such as number of views and posts were not that important. What was more important were details such as the thread title, when it was last updated, and who was the last to post to it, this would allow me to list more threads in the same ammount of space. I guess I could go back and add a 'title' tag to the title of the thread showing the number of posts and views.. *goes off to do that now*
|
Yeah, I know what you mean. Each to there own really. I prefer to show as much info as possible like the FORUM link and so on. But thats me, were all different.
|
A suggestion to the hack owner - to make it so that only threads which have updates the member hasn't yet seen to appear in bold, while the rest remain unbolded.
EDIT: Nevermind, I've just seen you have something like this in place already. :) |
Quote:
|
Quote:
Well it's really funny you should say that, because that has crossed my mind, but I was a little unsure how to get each post in it's own column though. |
How can you get it so each latest thread displayed uses it's own alternate colour. Like alt1 and alt2 in the box. So it looks nicer. So if you displayed 4 threads, they would be like this: alt1,alt2,alt1,alt2
|
I think I can do what you want, both with the coloums and alternating colours, but I'm going to need to see some of your templates first.
I'm going to need part of your FORUMHOME template, everything from <!-- latest threads start --> to <!-- latest threads end -->, and the whole of your forumhome_latestthreadbit template. It would also be handy if you could give me the content of your 'Latest Threads on Forum Home' plugin. If you can paste that info here, I'll see what I can do for you :D |
Here is my template:
Code:
<!-- latest threads start --> |
I still need the forumhome_latestthreadbit template.
As for the plugin, could you maybe copy/paste the text for me please? The text I need can be found: ACP -> Plugins & Products -> Plugin Manager -> Latest Threads on Forum Home (the one listed next to forumhome_complete) -> then copy/paste all the text from the 'Plugin PHP Code' box please? I'm just off to bed now, but I'll take a look in the morning and see what I can do for you :D |
Here the threadbit code:
Code:
<div class="smallfont"> |
OK, here goes... I've not tested it or anything, and I've not added the alternating colours yet, but try this on for size and see what you think:
FORUMHOME (part) Code:
<!-- latest threads start --> Code:
<tr> |
what files did you edit, it looks like the only changes you've made are to the latestthreadbit. Is that right?
Because I can just replace that template with your code to test it if that's all you've changed, rather than uploading the changed code as a plug-in |
No it did what I thought it would do after looking at your code changes, it put each item in it's own seperate column sideways and looked a right mess. You went along the same lines as me in your thinking. But it doesn't work that way I'm afraid. You just finish up with either more columns than you want, or the threads repeat each other if you try the same method using the $threadbit and more alts in the forumhome box code.
|
Well, it's a bit hard to work on building what you want remotly like this... I gave it a shot, but i guess I failed... oh well, sorry.... I'm sure you'll be able to work out what you need to do.. good luck.
|
Not to worry, it no big deal. I'll play around in the future with it. As I'm busy working on another ed2k hack I have installed right now.
|
is there any way to show it on header instead of only on forum home i asked that question couple of time now any body can help me??
|
Quote:
It's only a case of putting the box that displays the threads in the header instead of the FORUMHOME. |
Quote:
|
the answer to your question is in this thread, When I ran vBulletin 3 and installed her hack (which this is based off) I had it working on an external page, as well as my forumhome. You have to add some code I think to either global.php or another file. The answer is somewhere on the first 15-20 pages of this thread.
https://vborg.vbsupport.ru/showthrea...latest+threads |
hello gary i tried that but when i tried to edit the index php it gives me error when i upload back to db so is there anyother way to do this ill be really apparitiated
|
Well there are two things in that thread you has to get right. one was this.
@SuperG: Put the code just above the following in global.php so its run on everypage and you could be able to add the $threadbits variable in any of the templates: Code:
// parse some global templates Code:
require_once('./includes/functions_forumlist.php'); try that, becuase you might have missed the bit were the guy got an error like you and had to add another line to the code I've highlighted in red. |
All times are GMT. The time now is 03:42 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|