php forum
php mysql forum
php mysql smarty
 
Page 1 of 2 1 2 >
Topic Options
#313117 - 02/10/07 11:38 PM [7.x] UBB Sitemaps
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5133
Loc: Portland, OR, USA
Author: Gizmo (James of VNC Web Design)

Requirements: UBB 7.x

About:
This addon takes just moments to install, it gathers your forum topic links and exports them as a sitemap that you can add to Google, yahoo, or just about any search engine which utilizes sitemaps.

The configuration options allow you to specify which type of sitemap you wish to use and weather you wish to plugin threaded or flat view. The sitemap type and view type can both be set either hard coded or via url string.

Simply enter the URL to your sitemap install into your Google sitemap list (here) and google will automatically grab copies of your thread links every week.

What are the security aspects?:
Well, the sitemap will ignore threads in private forums (if a guest cannot *see* them then the sitemap will not publish the link). Also, threads that are not approved will not show either (same aspect as above).

What is a sitemap?:
A sitemap will take and provide all of your current threads to search engines, thus eliminating the wait of "new discovery" of new pages on your forums.

You can read about the benefits of using sitemaps via the below quoted article from Google Webmaster Tools.

Please note that this addon does not create a sitemap for your entire site, and only creates one for your forum.

Demo: As this addon doesn't utilize a cache, no active demo is available, however you can see example output via the attachment screen shots.

Install Instructions:
The install is quite simple, after receiving the software via email simply open the php file and place your MySQL connect information where indicated. Now upload the file to your web root (not your forum directory) and then simply open the script via the web and you'll see the default XML (google valid) sitemap.

Usage Instructions:
By default, the script uses flat mode and the XML map. These defaults can be easily changed from within the script itself.

As for web-based switches:
http://www.yoursite.tld/sitemap.php?type=&view=&se=
// Optional Paramater -- se=# Where # weather or not to use SE Friendly URLs (1/no, 2/yes)
// Optional Paramater -- type=# Where # is a map type (1/XML, 2/Text, 3/html, 4/RSS, 5/ASP, 6/SitemapIndex)
// Optional Paramater -- view=# where # is your view type (1/ShowFlat, 2/ShowThreaded)
// Optional Paramater -- offsets=# where # is weather or not to use offsets.

Submissions:
Not all search engines will automagically re-check your sitemap; in fact, I've only noticed that Google will re-check on its own. You'll want to go to Yahoo or anyone else every couple of weeks and tell them to re-grab a copy of your map.

Version Additions:
v0.3 - Support for SiteMap Indexes has been built in; this works well with the "offset" feature added in v0.2. The sitemap index will look at the xml sitemap data and build the proper number of "valid" links to offset pages. This is extremely useful for larger forums as they can set what level they want to offset their data (as to not go over the 50k maximum link limit with most providers) and they just need to submit one url (versus numerous to cover additional sitemap pages.
v0.2 - This version introduces offsetting; Google has a maximum of 50k links allowed in a sitemap, some larger (huge) forums have more than 50k threads on their forums. This setting is enabled by default, and can be utilized by using the offset variable in your urls submitted to google/yahoo. Additionally, it can be disabled completely in the configuration file.

Attachment Information:
sitemap-xml.jpg - An XML map.
sitemap-rss.jpg - An RSS map.
sitemap-text.jpg - A simple "text link list" map.
sitemap-link.jpg - A simple "html link list" map.
sitemap-asp.jpg - An ASP style sitemap.
sitemap-index.jpg - A screen cap of the Sitemap Index feature.

Pricing: $50 per install (each seperate install requires a separate license)

How to Buy: You can pay via PayPal to James[at]VirtualNightClub[dot]net (please replace "[at]" with "@" and "[dot]" with ".") or click here to use our order form (PayPal as well).

Notice:
This addon is not freeware, and as such you cannot freely provide it to others without prior written permission from its author(s). Permission was obtained from the UBB Dev administration to post this non-free addon's information in advance.

Quoting Google's Webmaster Help
What is a sitemap, and why should I have one?
Quote:
A Sitemap file lets you tell us about all the pages on your site, and optionally, information about those pages, such as which are most important and how often they change. By submitting a Sitemap file, you can take control of the first part of the crawling/indexing processes: our discovery of the pages.

This may be particularly helpful if your site has dynamic content, pages that aren't easily discovered by following links, or if your site is new and has few links to it.

Sitemaps help speed up the discovery of your pages, which is an important first step in crawling and indexing your pages, but there are many other factors that influence the crawling/indexing processes. Sitemaps lets you tell us information about your pages (which ones you think are most important, how often the pages change), so you can have a voice in these subsequent steps. Other factors include how many sites link to you, if your content is unique and relevant, if we can crawl the pages successfully, and everything outlined in our webmaster guidelines.

A Sitemap provides an additional view into your site (just as your home page and HTML site map do). This program does not replace our normal methods of crawling the web. Google still searches and indexes your sites the same way it has done in the past whether or not you use this program. Sites are never penalized for using this service. This is a beta program, so we cannot make any predictions or guarantees about when or if your URLs will be crawled or added to our index. Over time, we expect both coverage and time-to-index to improve as we refine our processes and better understand webmasters' needs.

Once you have created your Sitemap, you can add it to your Google Sitemaps account and update it as your site changes.


Licensed Sites: 8 (not including my own or ubbdev)


Attachments
2356-sitemap-xml.jpg (193 downloads)
2357-sitemap-rss.jpg (119 downloads)
2358-sitemap-link.jpg (145 downloads)
2359-sitemap-text.jpg (140 downloads)
2360-sitemap-asp.jpg (140 downloads)

_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#313118 - 02/11/07 02:09 PM Re: [7.x] UBB Sitemaps [Re: Gizmo]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
Thanks Gizzy, should be a very worthwhile add-on thumbsup
_________________________
- Allen wavey
- What Drives You?

Top
#313123 - 02/11/07 04:26 PM Re: [7.x] UBB Sitemaps [Re: AllenAyres]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5133
Loc: Portland, OR, USA
hehe dankies allen wink... I've pretty much had it in private development and word of mouth for 2 months now; current users rather like it wink...

And eliminating the need for google to "discover" your links is definatley a plus... Helping them along should help get content listed much faster for users :nods:
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#313129 - 02/12/07 01:22 AM Re: [7.x] UBB Sitemaps [Re: Gizmo]
Ian_W Global Moderator Offline
Veteran

Registered: 02/22/02
Posts: 2575
Loc: England
It would be ideal if it were to list pages, which are not forums, yet use the forum header / footer - i.e. articles.

I have around 200 of these pages, which will grow to 500 very soon.

_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top
#313130 - 02/12/07 01:33 AM Re: [7.x] UBB Sitemaps [Re: Ian_W]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5133
Loc: Portland, OR, USA
Those are kind of out of scope I think, it's designed to just pull the threads themselves, not forum topic indexes (which will likely be in a future build).

I'd have to see how you're calling these extra pages (header/footer) to be able to give a for sure answer.

I'm pretty sure that I could make an index page which could take all files in a directory and build a sitemap for you; but keep in mind that if it's just a custom header and footer that google won't really care; you're not feeding your content to them, you're simply feeding urls of your threads to them; the feed does not include any post content (as they don't want it).

Another product i'll be coming out with soon is a simple sitemap lister that you can manually enter urls on your site; but I'm working on a couple of other projects until I can get to that.

I've been toying with Curl for building automagic sitemaps, I have something that works for the most part, but you have to think that php has an execute script limit which would make it die prematurely on large sites (or forums for example).
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#313132 - 02/12/07 10:52 AM Re: [7.x] UBB Sitemaps [Re: Gizmo]
Ian_W Global Moderator Offline
Veteran

Registered: 02/22/02
Posts: 2575
Loc: England
I am calling the pages with a script, template and php file.

_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top
#313135 - 02/12/07 05:47 PM Re: [7.x] UBB Sitemaps [Re: Ian_W]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5133
Loc: Portland, OR, USA
So, they're never actually *called* as their own page?

Keep in mind, literally, all a sitemap is would be the link to a topic/forum; there is no data presant, you're helping google/yahoo/etc with discovery, you're not feeding them content...

Since they're not actually *called* as data for yoru forum by themselves, theres no reason to have them in a sitemap...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#313263 - 02/25/07 10:41 AM Re: [7.x] UBB Sitemaps [Re: Gizmo]
Basil Fawlty Offline
Journeyman

Registered: 10/30/01
Posts: 133
Loc: New Mexico
Outstanding!

Since I moved from 6.5 to 7.X Google has all but stopped crawling my threads/topics and as a result the numbber of new members I get has dropped dramatically! I hope this will help (should I decide to buy it)!

Thank!

Basil
_________________________

Top
#313297 - 02/28/07 12:15 PM Re: [7.x] UBB Sitemaps [Re: Basil Fawlty]
mcasado Offline
Lurker

Registered: 02/28/07
Posts: 1
i went thru all kinds of hell with google indexing my forum once i went to version 7. gizmo made it all beautiful again.... i thank him very much.

Top
#313465 - 03/09/07 08:44 PM Re: [7.x] UBB Sitemaps [Re: mcasado]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5133
Loc: Portland, OR, USA
It turns out that Google allows a maximum of 50k links in a sitemap; so I'm working on v0.2 right now that will allow you to set an offset via the URL so that you can split links up for larger forums.

EX:
ubb.sitemap.php?type=1&se=2&offset=0 - Will display threads 1-25k
ubb.sitemap.php?type=1&se=2&offset=1 - Will display threads 25k-50k

You can set the max offset in the file up to 50k, I put 25k down as a default to help conserve some load.

BTW, this will be enabled by default in v0.2; but you can disable it for the classic behavior of loading everything at once. I've mainly coded this in for large forums lol...

Also, an example of how insanely huge 25-50k threads is... UBBDev only has about 36k threads.
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#313863 - 04/11/07 05:21 PM Re: [7.x] UBB Sitemaps [Re: Gizmo]
Mark_S Offline
Power User

Registered: 11/15/03
Posts: 85
Loc: UK
Google + Gizmo's Site Map smile

I Have recently moved my forums to a new Domain.
So it was important to me to get my site under its new Domain name back into google as soon as i could.

Gizmo has been raving about the site map program he made,
so it thought to my self (He seems like a nice chap)
I think i will give it a go and see if it really does work.

The answer is YES smile

21 days after i installed the site map Google has listed my
site under its new domain name with 6,000 + links.
Not all my forums are public

It is fair to say what would have happened if i didn't have
the site map installed? Well i cant answer that to be honest
as I'm now listed. I like to think that it has helped
in my situation where a Domain move for my forums.

The Site Map has worked for me, but if you have any questions
about it functionality then please contact Gizmo via PM
as i can only report back the results i have.

Gizmo's site map isn't free, but for my needs worth the money.
You will also need a Google web masters account.
It also works with Yahoo.

My Results Click Me After 21 days.

Top
#313866 - 04/12/07 12:31 AM Re: [7.x] UBB Sitemaps [Re: Mark_S]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5133
Loc: Portland, OR, USA
Glad to hear that you've had good results mark smile.

Just for anyone wondering, with moving to a new domain with 0 data in Google for it, it'd likely take several months to allow discovery enough time to crawl this many links...

_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#314454 - 06/17/07 06:58 AM Re: [7.x] UBB Sitemaps [Re: Gizmo]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5133
Loc: Portland, OR, USA
v0.3 has been completed this morning. I've done a lot of code cleanup, on both a security and code standpoint. Instead of "assuming" data passed to the script from the database is "valid" for feeds, we run subjects through htmlentities (thus validating code) and we force "int" on fields which should only contain numbers.

I've repaired a problem with the offsets option introduced in 0.2 which allows you to split your one large sitemap into several easier to manage sitemaps (thus allowing you the opportunity to not go over the 50k link limit that some services enforce.

I have also built onto the offsets option and built in the ability to utilize a sitemap index which will list any "valid" sitemaps on from your forum (built using this script only); everything will be done automatically, all you need to do is submit the sitemap index into google (or a search engine which support them) and when you tell them to look at your site, they will grab your list of maps and work on them accordingly.

I have also set the "offsets" option to off by default; when I introduced it in 0.2 I set it to "on" by default.

Coming in 0.4:
I'm looking to add the ability to base "importance" to urls based on their date posted; this will allow the newer data to have a larger importance than the older data, thus allowing it to be crawled more often than older threads.

I'm also looking to allow the maximum thread inclusion to be adapted in the URL as well; however this ability will not be able to go over the scripts hardcoded 50k limit.

Also, if you've got a suggestion for expansion, please let me know, I'm always looking at new ideas.

If you're looking to upgrade, please email me (james[at]virtualnightclub[dot]net) with your licensed url's and I'll send off the new files.

If you're looking to purchase license please feel more than free to email me for more information.
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#314457 - 06/17/07 09:26 AM Re: [7.x] UBB Sitemaps [Re: Gizmo]
Ian_W Global Moderator Offline
Veteran

Registered: 02/22/02
Posts: 2575
Loc: England
If it could include custom pages, then I would buy it like a shot wink
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top
#314460 - 06/17/07 06:06 PM Re: [7.x] UBB Sitemaps [Re: Ian_W]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5133
Loc: Portland, OR, USA
Custom pages are out of scope for this (at least at this point), I COULD code it in but cost vs demand... There would have to be a way to add items into the map and since the current manner just auto-pulls data from the database there is no real "need" for the ability to add items (short of posting more content to your forums)

I do however have plans to write a separate sitemap utility for custom/standard pages; this script since i have to hop through hoops to cater to limitations (filesize and total links) it would be difficult to factor in custom pages, the next product will gear just towards your "standard site" items.

You could always try adding them to the sitemap manually (by hacking it in) so long as you're sure you won't bust over the 50k links/page limitation.
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#314542 - 06/22/07 03:16 PM Re: [7.x] UBB Sitemaps [Re: Gizmo]
ehm Offline
Journeyman

Registered: 10/23/02
Posts: 112
Hello Gizmo,
Couple questions:
Can I 'select' which forums I want to include on the sitemap?
Like there are few forums that are more like 'chit-chat' and there is no need for them.

How is your upgrade police for your program versions and for UBB versions? I mean, if you upgrade your product, the registered users get it free? And how about if UBB upgrades?

Thank you

Top
#314549 - 06/22/07 07:27 PM Re: [7.x] UBB Sitemaps [Re: ehm]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5133
Loc: Portland, OR, USA
Q. Can I 'select' which forums I want to include on the sitemap?
A. No, it takes any "public" forum and creates a map for posts in it.

There is a valid reason for this; either way google will eventually crawl all data, a sitemap just helps it along; either way the data will be there (sooner or later).

Q. How is your upgrade police for your program versions and for UBB versions
A. Upgrades, at this point, are free of charge to valid license holders; I upgrade as the UBB upgrades (for example, as the page variable was redundant, it was also purged in 0.3). The upgrade pricing may change in the future, but at this point I have no plans of charging for upgrades.

To recieve an upgrade to the UBB.Sitemapper, all you need to is email me after there is one available and I'll email it back; however I do request that when emailing me you also email the site that you've purchased it for so i can do internal auditing (for a possible download manager in the future).
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#314571 - 06/23/07 05:52 PM Re: [7.x] UBB Sitemaps [Re: Gizmo]
Mark_S Offline
Power User

Registered: 11/15/03
Posts: 85
Loc: UK
Upgraded and working fine wink

Cheers

Top
#314572 - 06/23/07 05:56 PM Re: [7.x] UBB Sitemaps [Re: Mark_S]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5133
Loc: Portland, OR, USA
Glad to hear it Mark
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#315825 - 09/25/07 10:39 AM Re: [7.x] UBB Sitemaps [Re: Gizmo]
AshtarRose Offline
Journeyman

Registered: 09/22/05
Posts: 134
Loc: Orlando, FL
Anyone try to make a literal site map for the forums on the board. Like a page that shows the forums, subs, subs in order on a flat summary like table?

Here's what I mean only I mean coming down instead of sideways, but sideways could work. (not my website).

http://www.darkobessions-rpg.com/sitemap.htm
_________________________
http://www.riddledindarkness.com * Yeah I need the Crazy Mods.

Top
Page 1 of 2 1 2 >


Moderator:  sirdude 
Who's Online
2 registered (arentzen, blaaskaak), 27 Guests and 8 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
How to hide sub forums from summary page
by blaaskaak
12/03/08 09:54 AM
Spell Check [beta]
by Bill B
12/01/08 09:16 PM
PhotoPost BB Code Popup
by AllenAyres
12/01/08 09:41 AM
Problems reading a lot of old posts here
by AllenAyres
12/01/08 09:35 AM
Forum 'Trader Ratings'.
by AllenAyres
12/01/08 09:33 AM
Customization needed
by Gizmo
11/12/08 12:28 PM
Team UBBDev Rides Again!
by AllenAyres
11/11/08 02:16 PM
New Mods
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Spell Check [beta]
by
10/17/06 09:24 PM