The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
New posts passed to variables
First off, I'd very much appreciate any help with this topic. I understand some of you are busy. Also, I didn't just sign up today and post this to abuse the system. I've been here for a while, just haven't had a reason to post until now and avidly support the website.
Is there someway to pass the newest thread info/links into certain variables? example: $newthreadinfo1 (1st most recent thread title, user, and time) $newthreadlink1 (1st most recent thread link) $newthreadinfo2 (2nd most recent thread title, user, and time) $newthreadlink2 (2nd most recent thread link) etc. etc. for a user-defined limit. I would need it set up this way for certain reasons. Would this be hard? I would definately appreciate it as I'm not too much of a coder (more of a graphic artist). If you need any other info, just ask. I'm not expecting anyone to make this for me but if you could help me along, I'd be more than appreciative. Thanks for your time. Regards, Matt |
#2
|
|||
|
|||
Hello Matt,
Where would you want to use this info? On your forumhome, in the thread itself, on your portal? |
#3
|
|||
|
|||
Hey Deaths,
Thanks for the quick response. I'd need to use the variables in the header template. Regards, Matt |
#4
|
|||
|
|||
Sorry to bump the thread, but is no one able to do this? Is it even possible? If it requires a bit of cash for persuasion I might consider that. I just need this done for a forum I'm developing. Thanks!
Regards, Matt |
#5
|
|||
|
|||
Quote:
Do you want this for threads where the last post was made and for all forums, but only ones defined by some method? I mean I understand what you are trying to do, but I don't understand exactly how you want to do it! Can you make screen of what you want the result to show or do you have a template row that will show me how each row should look, so I know how to make the function return the data each eval(template_row) needs! Depending how you want it will tell me if I can grab data that is already being processed or if I need to do another query or add another Join to get what you are needing for your display! In other words please give more details. I know you want it in the header template, now show me how you want it! Give an example so I can see what the result would look like, and list exactly each $var you want to have access to! These I know, list any others that you need! Thread Title Last Post User Name Last Post Time Thread Icon, if no last Post Icon. Lastly, how will this be limited. By a user action (form), user option (usercp options), admin option (forum index display) Sonia |
#6
|
|||
|
|||
Quote:
Options 1 & 2 can be called with only 1 query, so you can make that 1 option. Same goes for 3&4. why-not basicly asked all questions needed, heh. |
#7
|
|||
|
|||
Quote:
Regards, Matt |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|