Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #31  
Old 14 Mar 2018, 02:39
CAG CheechDogg's Avatar
CAG CheechDogg CAG CheechDogg is offline
 
Join Date: Feb 2012
Yes links to threads and external RSS feeds ..

Similar to this here ...https://www.vbulletin.org/forum/show...=232518&page=6

I am messing with it now but still can't make it work ... but yes the threads would be added either per usergroup or certain forums ...
Reply With Quote
  #32  
Old 14 Mar 2018, 02:48
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Okay, so you would like to be able to decide which usergroups have permission to see it, which forums threads are selected from, and how many newest threads to select?

Would you want just the most recently created threads, or the threads with the most recent last posts?

It sounds very similar to the "Recent Posts Block" I just published last night.

I have no idea off the top of my head how this would be done without querying the database though.

Also, I have no idea about RSS feeds...I've never worked with those.
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #33  
Old 14 Mar 2018, 02:55
CAG CheechDogg's Avatar
CAG CheechDogg CAG CheechDogg is offline
 
Join Date: Feb 2012
Both options would be nice, recently created threads and most recent last posts ...

Yes very similar to the recent posts block except this is a marquee .. your Recent Posts Block is what made me remember that mod by MARCO1 which I never made it work for me ...

For the RSS feeds you use external.php ... the code below is what I think is used ..


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #34  
Old 14 Mar 2018, 03:04
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
I read through that product thread, and it appears the claim of no queries was a bit misleading. I would rather write my own query, so I have more control over exactly what is fetched, rather than relying on the query used in "external.php". Also, I can use friendly urls, and username markup, etc.

It would be some time before I could make all these changes.
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #35  
Old 14 Mar 2018, 03:10
CAG CheechDogg's Avatar
CAG CheechDogg CAG CheechDogg is offline
 
Join Date: Feb 2012
Nice ... hey im in no hurry at all ... thanks Mark ...
Reply With Quote
  #36  
Old 14 Mar 2018, 03:55
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by CAG CheechDogg View Post
Nice ... hey im in no hurry at all ... thanks Mark ...
I'm thinking that for each new post put in the marquee, to only show the post author, the post timestamp and the link to the thread, for the sake of brevity. For more detailed information the Recent Posts Block would be the way to go.

Like the Recent Posts Block, forum permissions would be respected so that no user sees a link to a post they don't have permission to view.

The admin can select the active forums, and how many posts to select and display (as well as which usergroups can see the marquee).

I'm thinking these post links will be shown globally, in addition to any other manually added marquee messages, and the links will come after the manually added messages.

Sound good so far?
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #37  
Old 14 Mar 2018, 08:22
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
I have attached what I have so far. One change to take note of, is the speed of the marquee is now in characters per second rather than the number of seconds for the complete message. This way the speed remains consistent regardless of the total length of the message.

I added a couple more StyleVars, one for the left/right margins of the fixed marquee and another for the color of the thread links.

Let me know of any issues or changes you'd like.
Attached Files
File Type: xml product-markflforummarquee.xml (18.8 KB, 2 views)
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #38  
Old 15 Mar 2018, 03:19
CAG CheechDogg's Avatar
CAG CheechDogg CAG CheechDogg is offline
 
Join Date: Feb 2012
Good stuff Mark ... working very nicely ..

One thing ... the way it displays the thread info ..

...Being a Dad Posted By: CAG CheechDogg On 7 Hours Ago at 01:12 PM

the "CAG CheechDogg On 7 Hours Ago" ...

Just doesn't look right ... is it supposed to say

Posted By: CAG CheechDogg On "some forum" 7 Hours Ago at 01:12 PM ....

is it missing the forum where it's coming from ... or just a bad selection of a phrase ...
Reply With Quote
  #39  
Old 15 Mar 2018, 03:30
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by CAG CheechDogg View Post
Good stuff Mark ... working very nicely ..

One thing ... the way it displays the thread info ..

...Being a Dad Posted By: CAG CheechDogg On 7 Hours Ago at 01:12 PM

the "CAG CheechDogg On 7 Hours Ago" ...

Just doesn't look right ... is it supposed to say

Posted By: CAG CheechDogg On "some forum" 7 Hours Ago at 01:12 PM ....

is it missing the forum where it's coming from ... or just a bad selection of a phrase ...
Okay, I can add the forum name in there if you want, and I am using phrases so you can set those however you want. I just use dates, so "On" made sense for me. I see something like:

Testing "Automated Reporter" Posted By: MarkFL On 03-11-2018 at 05:04 AM

So, I can make forum names optional, along with any other thread information you want.
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #40  
Old 15 Mar 2018, 03:42
CAG CheechDogg's Avatar
CAG CheechDogg CAG CheechDogg is offline
 
Join Date: Feb 2012
Ok ... so because it was only posted 6 hours ago it says "On 6 hours ago" ? ... if that's what it's doing ... can it leave out "On" when its only hours ago and just say "Hours Ago" ... so that would be an "If" i think ?

And yes, the option for forum names to be optional would be "FANTASTICO" ... what ever other thread information you think would look good I would appreciate it all ...

Would the option to show the latest person to give thanks to someone be hard to add to this marquee ... ?

On my forum I have thanks but I changed the phrase to something else "bad words" ...then the opposite of it which is actually the "Groan" mod here ...https://www.vbulletin.org/forum/show...ghlight=groans


I would just like the latests thanks to show up up on the marquee and I can make the changes to add the groan as well ...

But this is really awesome stuff Mark .. thank you !
Reply With Quote
  #41  
Old 15 Mar 2018, 03:49
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
I went with a small amount of thread information (brevity) so that the ticker wouldn't be extremely long, but I can add in the forum name, and all the other options offered in the Recent Posts Block.

As for the latest thanks/groan, can you tell me the table/column names where that information can be retrieved?
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #42  
Old 15 Mar 2018, 03:56
CAG CheechDogg's Avatar
CAG CheechDogg CAG CheechDogg is offline
 
Join Date: Feb 2012
Yes I like the brevity myself too ... I just like the marquee instead of the big block for recent posts and other news ...

The latest thanks is retrieved from the default thanks system I would guess .... this might help you out .. this is the mod for it ...

https://www.vbulletin.org/forum/showthread.php?t=280109
Reply With Quote
  #43  
Old 15 Mar 2018, 04:59
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Those mods have likely added either new tables or columns to existing tables, or both. I would need to know what's been added to the database, because I don't have those installed on my dev site, and I'd rather not have to do download and inspect them if possible.
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #44  
Old 15 Mar 2018, 05:08
CAG CheechDogg's Avatar
CAG CheechDogg CAG CheechDogg is offline
 
Join Date: Feb 2012
Hmm... I know just a bit about tables, columns and I would need some guidance as to what I would be looking for ...
Reply With Quote
  #45  
Old 15 Mar 2018, 05:16
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by CAG CheechDogg View Post
Hmm... I know just a bit about tables, columns and I would need some guidance as to what I would be looking for ...
I'll just download the products and take a look at the install code in the .XML files, it will show what tables/columns are added.
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
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 04:44.

Layout Options | Width: Wide Color: