Valley of the Sun Casual Club
Welcome to VOTSCC . Please enjoy the many features . You may login at anytime to be part of our community .
Valley of the Sun Casual Club
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Log in

I forgot my password

Statistics
We have 380 registered users
The newest registered user is ADYTHEGOLFPRO

Our users have posted a total of 9610 messages in 2632 subjects
May 2021
MonTueWedThuFriSatSun
     12
3456789
10111213141516
17181920212223
24252627282930
31      

Calendar Calendar

71 WGT TUTORIALS & 32 YOUNG46 TUTORIALS
CLICK HERE TO SEE OVER 100 YOUTUBE VIDEO TUTORIALS . FROM WGTers , WGT & YOUNG46
FORUM UPDATE
THIS FORUM IS FOR YOU ALL . PLEASE FEEL LIKE IT IS YOURS . READ THE FORUMS. POST COMMENTS . ASK QUESTIONS . IF YOU HAVE A COMPLAINT POST IT . MAKE SUGGESTIONS . READ SOME TUTORIALS . READ SOME GOLF TIPS . CHECK RECENT TOURNEY WINNERS . BROWSE OUR OLD FORUM ARCHIVES . LOG IN TO THE CHAT AND MESSAGE SOMEONE TO MEET YOU THERE AND ARRANGE A MATCH . LOG IN TO THE CHAT TO SEE IF SOMEONE IS THERE JUST TO SAY HI . MESSAGE ME IF YOU WANT TO GET ON THE DAILY BLITZ .
THE BLITZ SCORECARD IS ON Page 3 PLEASE CLICK HERE
TO FIND THE COURSE OF THE DAY AND SEE
THE WEEKLY STANDINGS . PLEASE POST
YOUR SCORES HERE. IN THIS

Bilko’s Putting Calc
Here is a link to Bilko's Putting Calc and Wind Calc
Just download and install
Owner’s Objectives

It's been a while since I expressed some of my objectives for the CC . First of all I like and respect everyone that joins our club . I realize that not everyone knows what a CC is all about . Many have different reasons for joining . I really don't know how many of the other clubs are run . They are all different . What I want to emphasize in our CC is that whatever tier you are . That you feel comfortable here , part of a team of players that come here to find conditions that enable them to improve their game , hone their skills , lower their scores ,lower their averages , move up in tiers . Enjoyably and comfortably with the conditions that challenge them enough to keep that drive without the frustrationsof regular game play . All that is completely possible by either creating those tourneys yourself or by messaging me about it . Or someone else in your tier that has been creating tourneys . Any kind of information that you need to know should be provided here , any kind of appp , calculator , help , tutorial , tournament , statistic , message , opinion , gripe , compliment , etc , etc . Should able to be aqcuired here ( or in our website , as it may be easier there ). With your help , all of this can be done easily . We already have a good start . I am going to be here for a very long time trying to achieve all this . For any of you that think it's a good direction for your CC to go in . Then lets keep on keepin on . Sincerely , Your Co team member PDB1 , Paul ( sitting here on a rare rainy day ) May the SUN always be with you
POST OF THE WEEK

Re: Where are the Flags ?By Bertasion in Valley of the Sun Casual Club The other day upon the heather fair I hit a flagstick that was not there. I saw it's shadow and heard the clank but where it stood was just a blank. It was not there again today. I wonder when it will come back and stay. Brian
BLITZ LIST
HERE IS THE LIST OF BLITZ COURSES IN THE ORDER THEY ARE PLAYED EVERY WEEK OF EVERY SEASON .

DAILY BLITZ WEEKLY SCHEDULE



WEEK 1

BEST OF BANDON PAR 3
PEBBLE BEACH
THE OLYMPIC CLUB
VAHALLA
MERION


WEEK 2

PINEHURST NO.2
HARBOUR TOWN
KIAWAH ISLAND
ROYAL ST. GEORGE
CONGRESSIONAL


WEEK 3

ERIN HILLS
ST. ANDREWS
BALI HAI
CELTIC MANOR
BETHPAGE BLACK


WEEK 4

PINEHURST NO. 8
WOLF CREEK
CHALLANGE AT MANELE
EXPERIENCE AT KOELE
HILVERSUMSCHE


WEEK 5

EDGEWOOD TAHOE
BEST OF WATER SHOTS
BEST OF FAMOUS SHOTS
BEST OF PUTTING
CHAMBERS BAY

TIER & AVERAGE REQUIREMENTS
BASIC LEVEL AND AVERAGE REQUIREMENTS , AND SATURATION
..
Discord Server

Add news topics from multiple forums

View previous topic View next topic Go down

subject title Add news topics from multiple forums

Post by Paul Sun 17 Jan 2016, 20:01

 Add news topics from multiple forums

Add news topics from multiple forums Empty by Ange Tuteur on Sun 19 Oct 2014, 06:07

This is a test ! Bugs may be present and if found, should be reported to this topic !!


The current news widget only allows you to display topics from 1 subforum only. With this you should be able to display them from as many forums as you want ! Due note that getting topics from too many forums could cause you to hit the request limit, so use this in moderation ..! The HTML present in the script is only style for PHPBB3, this will have to be changed for other versions, but should still work.


Go to : Administration Panel > Modules > JavaScript codes management > Create a new script

Title : Your choice
Placement : In all the pages
Paste the code below :
CODE:SELECT CONTENT
Code:
$(function() {
  newsWidget('left', 1, 3, 12);
  newsWidget('left', 2, 3, 413);
  
function newsWidget(column, forum, topics, special_id) {
  if (localStorage.getItem('newsMod-'+special_id) && localStorage.getItem('newsExp-'+special_id) > +new Date - 4*60*1000) {
    $('#'+column).append('<div id="news-'+special_id+'"><span class="hiddenItems" style="display:none"></span></div>');
    $('#news-'+special_id).html(localStorage.getItem('newsMod-'+special_id));
 return;
  }
  $('#'+column).append('<div id="news-'+special_id+'"><span class="hiddenItems" style="display:none"></span></div>');
  $('#news-'+special_id+' .hiddenItems').load('/feed/?f='+forum+' item:lt('+topics+')', function() {
    var it = 0;
    while (it < topics) { 
      $('#news-'+special_id).append('<div class="module mod_news newsBox'+it+'"><div class="inner"><span class="corners-top"><span></span></span><div class="h3"></div><p class="dateAuthor"></p><span class="content"></span><p class="row3"></p><span class="corners-bottom"><span></span></span></div></div>'); 
      it += 1 
    }
    $('#news-'+special_id+' .hiddenItems item').each(function(){
      var box = '.newsBox'+$(this).index();
      $('#news-'+special_id + ' ' + box + ' .h3').html($(this).find('title').text()).wrap('<a href="'+$(this).find('guid').text()+'">');
      $('#news-'+special_id + ' ' + box + ' .content').html($(this).find('description').text());
      $('#news-'+special_id + ' ' + box + ' .row3').html('<a href="'+$(this).find('comments').text()+'">View comments</a>');
      $('#news-'+special_id + ' ' + box + ' .dateAuthor').html($(this).find('pubdate').text() + ' by <strong>' + $(this).find('dc\\:creator').text() + '</strong>');
    });
    if (window.localStorage) {
      localStorage.setItem('newsMod-'+special_id, $('#news-'+special_id).html());
      localStorage.setItem('newsExp-'+special_id, +new Date)
    }
  });
}
});
[size]

To add new News widgets write : newsWidget(column, forum, topics, special_id)

Explained :

column : The column you want them to appear in ( left or right ) LOWERCASE ONLY

forum : The ID of the forum you want to load e.g. http://help.forumotion.com/f1-updates-and-new-features = f1 - f = 1

topics : The amount of topics you want to load (1, 2, 3, 4..)

special_id : It is important you use a UNIQUE ID for each news you add. It can be random numbers or letters, but make sure they are not identical.

You can modify the two I have in the script above already. To add more simply copy and paste them after. Example :
CODE:SELECT CONTENT
[/size]
Code:
newsWidget('left', 1, 3, 12);
  newsWidget('left', 2, 3, '41h3');
  newsWidget('left', 4, 3, 4123);
  newsWidget('left', 7, 3, 4113);
[size]

Note : The topics loaded are cached for 5 minutes to prevent multiple requests.[/size]
Paul
Paul
Admin
Admin

Posts : 7093
Join date : 2013-05-06

https://www.valleyofthesuncc.com

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum
YOU HAVE SOME RIGHTS

Sat 10 Mar 2018, 20:50 by azdewars

Background- 1933 The Bankruptcy of the UNITED STATES
Add news topics from multiple forums Bankruptcy%20court
1933 was a year of MAJOR events in America. During this year constitutional money (gold) became outlawed and effectively all property in America become mortgaged and held (in Trust) for the Federal Reserve bank as collateral for the nation debt. All of this was done without the full …

[ Full reading ]

Comments: 1