Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 08-13-2007, 07:57 PM
kjhkjh's Avatar
kjhkjh kjhkjh is offline
 
Join Date: Jul 2005
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Forwarded forums - no stats shown?

Hello

When constructing my new forums I have a lot of forwarded forums.
However, I noticed that when a forum is forwarded the stats aren't shown.
If I want the stats (ie. last post title and poster) to be shown even when the forum is forwarded is there a way to achieve this?

Thanks for any help.

From the attached snapshot you can see that of the 2 forums, the top one is a normal forum and the bottom one is a forwarded forum. In the bottom forum there are dashes ("-") where the subject and poster of the last poster would usually be shown.

Reply With Quote
  #2  
Old 08-13-2007, 08:37 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No. Its a hyperlink.
Reply With Quote
  #3  
Old 08-13-2007, 08:54 PM
kjhkjh's Avatar
kjhkjh kjhkjh is offline
 
Join Date: Jul 2005
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Snakes

I think that you misunderstood my question. (I know that a forwarded forum is a hyperlink)

My question was are there any methods of making the stats appear. For example a mod or something. This doesn't sound so crazy does it. There have been bigger and more difficult mods done in the past.

Maybe theres a variable for last poster in a forum and last message subject that I can use some script to put in there somehow.

If anyone has done something similar in the past them Im interested to find out the method.

Thanks for any help.
Reply With Quote
  #4  
Old 08-13-2007, 09:05 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I didn't mis-understand your question, i replied with No, its a hyperlink.

Its a redirect, the answer was a No, i dont think there is a way to do what your wanting to do.
Reply With Quote
  #5  
Old 08-13-2007, 09:12 PM
kjhkjh's Avatar
kjhkjh kjhkjh is offline
 
Join Date: Jul 2005
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by snakes1100 View Post
I didn't mis-understand your question, i replied with No, its a hyperlink.
Just because it's a hyperlink doesn't mean that it can't be done.
Look at the original screenshot I provided above. There are 2 forums there. The first is a regualr forum, the second is the forwarder.

They are both hyperlinks.

That was why your answer and reason above don't make sense to me.

I think that there are other obstacles that make it more difficult to do what I want (namely that there is no built in option or support for this in vB, plus the table structure of regular forums may help this for the regular ones) but there will be a way to achieve what I'm looking for.

The only questions are how much do I need to mess with the code, how difficult is it, and has somebody done something similar in the past?
Reply With Quote
  #6  
Old 08-13-2007, 09:22 PM
Carnage Carnage is offline
 
Join Date: Jan 2005
Location: uk
Posts: 760
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what you would have to do is make a special redirected forum that takes a forum id as its redirect link. then query the database for the stats for that forum id.

The current redirect forums can't do that cause it can be a hyperlink to ANYWHERE. i could make a link forum that redirects to google for example... where are stats for posts on google going to come from?
Reply With Quote
  #7  
Old 08-13-2007, 09:30 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As i stated, what you asked in you're first two threads wasn't possible, you didnt say anything about code changing, you only said one thing about a "possible variable", nothing more.

As Carnage pointed out, the two hyper links are totally different in their functions.
Reply With Quote
  #8  
Old 08-13-2007, 09:36 PM
kjhkjh's Avatar
kjhkjh kjhkjh is offline
 
Join Date: Jul 2005
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I believe the solution lies in this:

The hyperlink (forwarded url) and the place that I need the stats to be could be completely independent.

So long as I know which page they are both on there must be a way to insert the code that can look where I want it to look and display the dynamic variables.

I'm basically talking that in it's most basic way possible, I could go on each page and manually insert the code. Therefore, I could put a link for google, but if I put code next to it that will display the result of the code "last poster in forum f=13, and last subject in forum f=13", then this will appear.

So instead of putting a link to google I would just have the forum link to forum 13.

Maybe no one has done this before. I just thought that because there are so many vBs out there that some people would have done something on it (in a less manual way than above)

But I think that the description above shows the idea how it could be done even if it is a less convenient way :erm:

Maybe I put this in the wrong forum, I just saw the description to this one as

Quote:
General modification & vBulletin discussions. eg. "How do I do this in vBulletin?", "Can this product do this?", "What does this feature do?", etc
But maybe it's geared towards the color changing type stuff and not the hacks/mods, I will try and find a better place to post.

thx for trying to help
Reply With Quote
  #9  
Old 08-14-2007, 08:49 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

First of all there is no such thing as a "forwarded forum" in standard vBulletin. Yes you have the option to provide a link instead of creating a forum, but that can be any link, not only a link to a (sub)forum.

Maybe it would help if you told us what exactly you want to achieve, why use a link instead of a regular forum. Are you linking to a local forum on your board or an external forum?
Reply With Quote
  #10  
Old 08-14-2007, 04:05 PM
kjhkjh's Avatar
kjhkjh kjhkjh is offline
 
Join Date: Jul 2005
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Marco

Thanks for your reply

Quote:
Originally Posted by Marco van Herwaarden View Post
First of all there is no such thing as a "forwarded forum" in standard vBulletin.
I was using this term more as a description not as something that has been predefined in vB

Quote:
Originally Posted by Marco van Herwaarden View Post
Yes you have the option to provide a link instead of creating a forum, but that can be any link, not only a link to a (sub)forum.
In fact to make the link you are still creating a forum. A f=number is assigned, and rolling over the link shows the forum url, however when clicked, a redivert is actioned.

Quote:
Originally Posted by Marco van Herwaarden View Post
Maybe it would help if you told us what exactly you want to achieve, why use a link instead of a regular forum. Are you linking to a local forum on your board or an external forum?
None of the forums link outside they are all linking to forums that exist on the same website.

Here's an example which describes the type of think that I'm doing:

1. Imagine a forum which has individual forums for schools (eg/ 50 schools)

2. Users bookmark their school forum (or are pushed there after a cookie is set when they make their selection of school initially)

3. Under each there are individual forums for 'school specific chat'

4. But there are also forums that are global (where all schools can leave messages in them)
such as 'National Maths Chat'

So to achieve this I could create a forum for 'National Maths Chat' close to the root. Then within each of the school forums I could have a redirect to this forum. If I could get the stats to appear next to it that would be great. If not no problem.

It may be difficult to follow the above, but simply put there are some community (for all) forums and some school specific forums. However, I want them to appear together under the forum for each school. The reason for this is so that schools can set the homepage or can bookmark 'their school's forum'. Or a cookie can be set to divert users to a choice which has previously been selected.


The above example has used schools to illustrate the issue, but my useage is for something different, but with the same principles outlined above.

It's difficult explaining the details of all this in a post and I'm still not sure if this is the best place to post :erm:
Reply With Quote
Reply


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


All times are GMT. The time now is 06:10 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04364 seconds
  • Memory Usage 2,265KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete