Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 17 Nov 2011, 19:38
Mark.B Mark.B is offline
 
Join Date: Feb 2004
Thumbs up My take on how "What's New?" should be done

I thought I'd post this over here rather than my traditional choice of vbulletin.com as (a) this sort of stuff is very much modification and related and (b)...well I won't go into (b) actually.

I usually accompany this sort of thread with screenshots but I have been roundly criticised for this in past, even though my main motivation in doing so was avoiding making it look like I was "spamming" by posting links. But, links it is. Anyway this particular thing really needs to be "seen" in action rather than simple screenshots.

With a little help from several of Andreas's modifications and some painstaking tweaks and hacking of my own, I have come up with what I believe to be very close to how I'd like What's New? to actually work.

LINK

Basically this gives you by default, Forums, Groups and Blogs all in the same view. It then has "Tabs" to allow the individual content types to be separated out.

The downside? It's unclean! The search_resultslist template to do all this is now such a mess that it is liable to cause a diplomatic incident if viewed in public! I'm working on whether some of the code can be done in plugins but, frankly, that will be little better. But, it works, and whilst the whole thing might crash a *really* busy site on a rubbish server, mine seems to cope pretty admirably with it.

Has it made people use blogs and groups more? Frankly, no, not yet, but it's only been in place for a week or so.
Reply With Quote
  #2  
Old 19 Nov 2011, 20:26
Lairston Lairston is offline
 
Join Date: Feb 2010
I like it Mark.

I think this is what the What's New should be.

I tried Andreas What's New reloaded mod but it stopped workiing after a few hours. It keeps saying there's nothing new. Have you had anything like that happen? If so, I'd love a fix of some sort.
__________________
Quarrels and Quills is a play by post roleplaying community now powered by vBulletin.
Reply With Quote
  #3  
Old 19 Nov 2011, 21:04
Juggernaut's Avatar
Juggernaut Juggernaut is offline
 
Join Date: Dec 2009
I like it!
Reply With Quote
  #4  
Old 20 Nov 2011, 04:11
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Real name: Brooks
VERY nice!
__________________
"Our greatest weakness lies in giving up. The most certain way to succeed is always to try just one more time!"
"It's important to only think about what you desire, not what you fear to achieve your ultimate goal!!
Reply With Quote
  #5  
Old 20 Nov 2011, 05:05
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Interesting...
Reply With Quote
  #6  
Old 20 Nov 2011, 19:16
Mark.B Mark.B is offline
 
Join Date: Feb 2004
Originally Posted by Lairston View Post
I like it Mark.

I think this is what the What's New should be.

I tried Andreas What's New reloaded mod but it stopped workiing after a few hours. It keeps saying there's nothing new. Have you had anything like that happen? If so, I'd love a fix of some sort.
I had that, it's something to do with the "list of content types" it installs in the USERCP.

When you visit the user cp this gets "blanked out", meaning no content types are selected. If you then save it you have a problem.

I think that's the issue - I simply removed that (think you untick a plugin) and it worked ok after that, but I do remember it being an issue.

--------------- Added 20 Nov 2011 at 19:18 ---------------

Wayne Luke mentioned on vbulletin.com that the original plan with What's New? was to have tabs. I think a screenshot even appeared. That was the first I'd heard of it as it had all been in the alpha forums back in 2009 apparently.

Anyway that gave me the idea....I'd never thought of it before. I'd already got the various content types to show, then I thought "why not have tabs"?

In an idea world of course, they'd be Ajax-powered etc etc but that's beyond my rather limited skillset.

Last edited by Mark.B; 20 Nov 2011 at 21:19.
Reply With Quote
  #7  
Old 20 Nov 2011, 21:20
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Real name: Brooks
Originally Posted by Mark.B View Post
In an idea world of course, they'd be Ajax-powered etc etc but that's beyond my rather limited skillset.
I was actually going to make that suggestion in this thread, however, it would seem like something that would actually increase the page load time for something like that.
__________________
"Our greatest weakness lies in giving up. The most certain way to succeed is always to try just one more time!"
"It's important to only think about what you desire, not what you fear to achieve your ultimate goal!!
Reply With Quote
  #8  
Old 20 Nov 2011, 21:33
Mark.B Mark.B is offline
 
Join Date: Feb 2004
Originally Posted by HMBeaty View Post
I was actually going to make that suggestion in this thread, however, it would seem like something that would actually increase the page load time for something like that.
I guess it would depend how clever you are (and I'm not very!).

You already have the "All" tab loading by default, so that's your page load right there. The trick would be in using the other tabs to AJAX-load the same search result but with the non-required content types filtered out somehow. Rather than loading four separate searches all at once.

I'm sure it could be done but it's way beyond me. I've never really worked with AJAX.
Reply With Quote
  #9  
Old 21 Nov 2011, 01:48
Mooff Mooff is offline
 
Join Date: Mar 2010
Since the results are already there i would just generate all arrays at once in the php background. And then create all tabs on the first load via vb:each loops.
Reply With Quote
  #10  
Old 21 Nov 2011, 07:12
Mark.B Mark.B is offline
 
Join Date: Feb 2004
Originally Posted by Mooff View Post
Since the results are already there i would just generate all arrays at once in the php background. And then create all tabs on the first load via vb:each loops.
Thanks...way beyond my knowledge though that.
Reply With Quote
  #11  
Old 21 Nov 2011, 18:23
Lairston Lairston is offline
 
Join Date: Feb 2010
Originally Posted by Mark.B View Post
I had that, it's something to do with the "list of content types" it installs in the USERCP.

When you visit the user cp this gets "blanked out", meaning no content types are selected. If you then save it you have a problem.

I think that's the issue - I simply removed that (think you untick a plugin) and it worked ok after that, but I do remember it being an issue.
Thanks a lot Mark! Its working perfectly again!
__________________
Quarrels and Quills is a play by post roleplaying community now powered by vBulletin.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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


New To Site? Need Help?

All times are GMT. The time now is 11:54.

Layout Options | Width: Wide Color: