About   Users   Help
Users & Guests Online
On Page: 1
Directory: 157
Entire Site: 6 & 1116
Page Staff: tgags123, pokemon x, tgags123, supercool22, SonicOlmstead, Barathemos, Furret,
05-15-26 11:02 AM

Forum Links

Related Threads
Coming Soon

Thread Information

Views
1,489
Replies
14
Rating
9
Status
CLOSED
Thread
Creator
Davideo7
01-26-17 06:11 AM
Last
Post
Davideo7
01-27-17 04:47 PM
Additional Thread Details
Views: 711
Today: 0
Users: 52 unique
Last User View
01-28-17
MegaNintendo4.

Thread Actions

Thread Closed
Order
 

Site Content Now Loads Dynamically Using AJAX

 

01-26-17 06:11 AM
Davideo7 is Online
| ID: 1326782 | 523 Words

Davideo7
Level: 357


POSTS: 41262/45824
POST EXP: 3545950
LVL EXP: 867975921
CP: 200072.4
VIZ: 129558730

Likes: 5  Dislikes: 0
A lot of the content on the site now loads dynamically using AJAX. Any content box that has the refresh icon is content that is being loaded with AJAX. There are a lot of benefits to this which include:
-A page can now load quicker since it doesn't have to wait for the content within those boxes
-You can click the reload icon to reload the content in a content box without having to reload page
-Some content boxes automatically reload every number of seconds (such as 'Your Online Friends') and only does so if the window is active
-The content only loads if the window and page is active which means that if someone opened a bunch of tabs, the content in those boxes will not load until the user goes to that tab (currently removed; it'll be added back once I get this functioning properly in all browsers)
-Some content boxes can be navigated without leaving the page (such as the 'Page Comments', which was recently migrated to AJAX from iframes, and the YouTube uploader, which is currently under construction) but optionally you can still open those links in their own page by right clicking or middle clicking
-I have more control over how content is displayed on a page compared to how I was going about content before
-For some future migrations, it'll allow users to obtain more information on a page without having to leave a page (instead of having to go from page to page to sort through screenshots for example, they'd just continue to load in their content box)
-All content boxes can be viewed in a full page if you click their header name (this offers more customization and a full page to view it)

I also changed the way that hovering over usernames is handled. Before it would load an iframe in the Information panel but now it simply uses AJAX just like everything else mentioned above. This allows the content to load far quicker. I also made it so that you have to hover the mouse over the name for 0.25 seconds which will help prevent accidental hovers and it also helps prevent users abusing it by hovering over a bunch of names quickly.

All of this is part of my huge effort to greatly reduce the overall strain on the site so that I can merge 2 of my servers into 1 server resulting into me saving $375 a month. I plan to make a lot more of the content boxes of the site use AJAX (such as the screenshots and video sections of the game pages) and after I'm doing migrating a lot of the site's content to AJAX, I'm going to then make a lot of the content boxes utilize cached content that doesn't need to render data and connect to the DB on every page load.

EDIT: I should also point out that these updates should result into less strain client side. The pages should have a little less HTML overall and should use less of your computer's resources. Once I'm completely finished, this will be even more the case.
 
A lot of the content on the site now loads dynamically using AJAX. Any content box that has the refresh icon is content that is being loaded with AJAX. There are a lot of benefits to this which include:
-A page can now load quicker since it doesn't have to wait for the content within those boxes
-You can click the reload icon to reload the content in a content box without having to reload page
-Some content boxes automatically reload every number of seconds (such as 'Your Online Friends') and only does so if the window is active
-The content only loads if the window and page is active which means that if someone opened a bunch of tabs, the content in those boxes will not load until the user goes to that tab (currently removed; it'll be added back once I get this functioning properly in all browsers)
-Some content boxes can be navigated without leaving the page (such as the 'Page Comments', which was recently migrated to AJAX from iframes, and the YouTube uploader, which is currently under construction) but optionally you can still open those links in their own page by right clicking or middle clicking
-I have more control over how content is displayed on a page compared to how I was going about content before
-For some future migrations, it'll allow users to obtain more information on a page without having to leave a page (instead of having to go from page to page to sort through screenshots for example, they'd just continue to load in their content box)
-All content boxes can be viewed in a full page if you click their header name (this offers more customization and a full page to view it)

I also changed the way that hovering over usernames is handled. Before it would load an iframe in the Information panel but now it simply uses AJAX just like everything else mentioned above. This allows the content to load far quicker. I also made it so that you have to hover the mouse over the name for 0.25 seconds which will help prevent accidental hovers and it also helps prevent users abusing it by hovering over a bunch of names quickly.

All of this is part of my huge effort to greatly reduce the overall strain on the site so that I can merge 2 of my servers into 1 server resulting into me saving $375 a month. I plan to make a lot more of the content boxes of the site use AJAX (such as the screenshots and video sections of the game pages) and after I'm doing migrating a lot of the site's content to AJAX, I'm going to then make a lot of the content boxes utilize cached content that doesn't need to render data and connect to the DB on every page load.

EDIT: I should also point out that these updates should result into less strain client side. The pages should have a little less HTML overall and should use less of your computer's resources. Once I'm completely finished, this will be even more the case.

 
The Owner
Owner, Developer, Advertiser, etc
Founder, Mod, Investor


Affected by 'Laziness Syndrome'

Registered: 12-06-04
Location: Wisconsin
Last Post: 4 days
Last Active: 1 sec.

(edited by Davideo7 on 01-27-17 04:46 AM)     Post Rating: 5   Liked By: , jlove92, jnisol, Lexatom, thing1,

01-26-17 06:36 AM
Eniitan is Offline
| ID: 1326784 | 37 Words

Eniitan
Level: 178


POSTS: 9804/10522
POST EXP: 959649
LVL EXP: 76472138
CP: 55531.6
VIZ: 2643586

Likes: 0  Dislikes: 0
So that may explain a few things...I was wondering when I was starting my posting spree. So much change in so little time with each day this site changes with new updates, or most of the time.
So that may explain a few things...I was wondering when I was starting my posting spree. So much change in so little time with each day this site changes with new updates, or most of the time.

--------------------
Ask Me Anything!
Ask Me & That One Forum Staff Anything!
During the whole of a dull, dark, and soundless day in the autumn of the year, when the clouds hung oppressively low in the heavens, I had been passing alone, on horseback, through a singularly dreary tract of country; and at length found myself, as the shades of the evening drew on.
Vizzed Elite
Number 1 Sailor Moon, Final Fantasy And Freedom Planet Fan On Vizzed!


Affected by 'Laziness Syndrome'

Registered: 08-16-12
Last Post: 1322 days
Last Active: 425 days

01-26-17 02:46 PM
m0ssb3rg935 is Offline
| ID: 1326835 | 63 Words

m0ssb3rg935
m0ssb3rg935
Level: 112


POSTS: 1984/3607
POST EXP: 283159
LVL EXP: 15031502
CP: 22188.2
VIZ: 931268

Likes: 1  Dislikes: 0
I noticed the "online friends" box auto refreshing and I thought that was really cool. Since I'm on a slow connection and a budget laptop, reloading the page sometimes takes a while, so I'm liking that feature. Just out of curiosity, do you think we'll ever see the same thing happen to the Message Center, having inboxes and notifications auto refreshing, as well?
I noticed the "online friends" box auto refreshing and I thought that was really cool. Since I'm on a slow connection and a budget laptop, reloading the page sometimes takes a while, so I'm liking that feature. Just out of curiosity, do you think we'll ever see the same thing happen to the Message Center, having inboxes and notifications auto refreshing, as well?

--------------------
Image edited and layout coded by m0ssb3rg935.
Like it? You can buy it here for 300 Viz.
Vizzed Elite
Former Admin
Token Clueless Guy to Make Others Look Smarter


Affected by 'Laziness Syndrome'

Registered: 03-09-13
Location: Tennessee
Last Post: 1596 days
Last Active: 1263 days

Post Rating: 1   Liked By: Mohammedroxx3,

01-26-17 03:21 PM
Lexatom is Offline
| ID: 1326842 | 50 Words

Lexatom
LunarDarkness2
Level: 129


POSTS: 3815/5106
POST EXP: 331704
LVL EXP: 24938003
CP: 27261.3
VIZ: 730332

Likes: 0  Dislikes: 0
I thought I noticed that happening. Either that or I was finally going absolutely insane. This is remarkable, thanks for doing this. I have the same question as Moss, mostly pertaining to notifications. I don't like refreshing the page every 10 minutes to check if I have any notifications haha.
I thought I noticed that happening. Either that or I was finally going absolutely insane. This is remarkable, thanks for doing this. I have the same question as Moss, mostly pertaining to notifications. I don't like refreshing the page every 10 minutes to check if I have any notifications haha.

--------------------
Vizzed Elite
The Dragon of Rock Bottom


Affected by 'Laziness Syndrome'

Registered: 07-30-13
Location: Denver, CO
Last Post: 1301 days
Last Active: 128 days

01-26-17 03:29 PM
Mohammedroxx3 is Offline
| ID: 1326850 | 124 Words

Mohammedroxx3
mohammedroxx3
Level: 126


POSTS: 4600/4716
POST EXP: 427341
LVL EXP: 22486624
CP: 37490.9
VIZ: 1469528

Likes: 1  Dislikes: 0
All the widgets seem blank/empty for me when I load any page. Here's a screenshot of what I mean: http://i.imgur.com/MICjcii.png

But each widget appears normally if I either click the refresh button on all of the widgets or open a new tab and go back to the vizzed tab I was on. A little annoying that I have to do this everytime I go to a different page so the widgets aren't empty but seems like it's a small problem. Probably a minor bug where the widget should begin to load once you go to a vizzed page, not only when refreshing or going back to a tab. (Is it only me who has this problem though?)

Other than that, it's pretty cool. Thanks!
All the widgets seem blank/empty for me when I load any page. Here's a screenshot of what I mean: http://i.imgur.com/MICjcii.png

But each widget appears normally if I either click the refresh button on all of the widgets or open a new tab and go back to the vizzed tab I was on. A little annoying that I have to do this everytime I go to a different page so the widgets aren't empty but seems like it's a small problem. Probably a minor bug where the widget should begin to load once you go to a vizzed page, not only when refreshing or going back to a tab. (Is it only me who has this problem though?)

Other than that, it's pretty cool. Thanks!

--------------------
Ask Me & That One Forum Staff Anything!
Night Stars Layout by: Mohammedroxx3
Vizzed Elite

Affected by 'Laziness Syndrome'

Registered: 03-03-13
Location: Earth?
Last Post: 1870 days
Last Active: 1758 days

Post Rating: 1   Liked By: Lexatom,

01-26-17 03:43 PM
Jordanv78 is Offline
| ID: 1326856 | 14 Words

Jordanv78
Level: 194


POSTS: 12052/12281
POST EXP: 809836
LVL EXP: 102661611
CP: 78906.3
VIZ: 598246

Likes: 0  Dislikes: 0
Glad to see the site start updating to (somewhat) current web standards! Great work!

Glad to see the site start updating to (somewhat) current web standards! Great work!

--------------------
Vizzed Elite
Former Admin
Special Assault Brigade for Real Emergencies


Affected by 'Laziness Syndrome'

Registered: 10-16-10
Location: Chicagoland
Last Post: 3167 days
Last Active: 3140 days

01-26-17 05:20 PM
Davideo7 is Online
| ID: 1326873 | 45 Words

Davideo7
Level: 357


POSTS: 41264/45824
POST EXP: 3545950
LVL EXP: 867975921
CP: 200072.4
VIZ: 129558730

Likes: 1  Dislikes: 0
Lexatom :
m0ssb3rg935 : Yeap I definitely want to do it with that as well at some point.

Mohammedroxx3 : I'm not sure why you'd be experiencing that issue. It happens on every page? I made a small adjustment, let me know if that helped.

Jordanv78 : Exactly lol.
 
Lexatom :
m0ssb3rg935 : Yeap I definitely want to do it with that as well at some point.

Mohammedroxx3 : I'm not sure why you'd be experiencing that issue. It happens on every page? I made a small adjustment, let me know if that helped.

Jordanv78 : Exactly lol.

 
The Owner
Owner, Developer, Advertiser, etc
Founder, Mod, Investor


Affected by 'Laziness Syndrome'

Registered: 12-06-04
Location: Wisconsin
Last Post: 4 days
Last Active: 1 sec.

Post Rating: 1   Liked By: Jordanv78,

01-26-17 05:26 PM
Mohammedroxx3 is Offline
| ID: 1326877 | 54 Words

Mohammedroxx3
mohammedroxx3
Level: 126


POSTS: 4601/4716
POST EXP: 427341
LVL EXP: 22486624
CP: 37490.9
VIZ: 1469528

Likes: 0  Dislikes: 0
Davideo7- It still happens but now all the widgets appear as soon as I click any link. (so it shows up for like one second once I click a link before it loads the new page and disappears again) It does seem to happen on all pages.

I'm using google chrome on Windows 10. 
Davideo7- It still happens but now all the widgets appear as soon as I click any link. (so it shows up for like one second once I click a link before it loads the new page and disappears again) It does seem to happen on all pages.

I'm using google chrome on Windows 10. 

--------------------
Ask Me & That One Forum Staff Anything!
Night Stars Layout by: Mohammedroxx3
Vizzed Elite

Affected by 'Laziness Syndrome'

Registered: 03-03-13
Location: Earth?
Last Post: 1870 days
Last Active: 1758 days

01-26-17 05:55 PM
Boured is Offline
| ID: 1326884 | 24 Words

Boured
18mlivingston
DanceDanceRevolution7
Level: 91


POSTS: 1443/2179
POST EXP: 104277
LVL EXP: 7245188
CP: 9379.8
VIZ: 1384530

Likes: 0  Dislikes: 0
This is so cool! Good job David, the site is now faster, in fact the theme of this forum should be...





Davideo7 :
This is so cool! Good job David, the site is now faster, in fact the theme of this forum should be...





Davideo7 :

--------------------
Vizzed Elite
Former Admin
The Guildmaster


Affected by 'Laziness Syndrome'

Registered: 06-23-12
Location: My Laptop
Last Post: 1696 days
Last Active: 726 days

01-26-17 09:27 PM
EX Palen is Offline
| ID: 1326918 | 94 Words

EX Palen
Spanish Davideo7
Level: 144


POSTS: 3520/6546
POST EXP: 1202041
LVL EXP: 36303921
CP: 196035.5
VIZ: 11452721

Likes: 0  Dislikes: 0
I'm experiencing the same things as Moha (partly because I'm also using Chrome on Windows 10).

It doesn't happen just with the widgets on the sides. Even the widgets in the Board, just before the forums are displayed, are completely blank for a while before actually loading.

Despite that, it's kind of cool to see the widgets update in real time. If this also lowers the client side strain, then we will also face much less times the errors loading the page that have plagued us for the last months, which was much needed.
I'm experiencing the same things as Moha (partly because I'm also using Chrome on Windows 10).

It doesn't happen just with the widgets on the sides. Even the widgets in the Board, just before the forums are displayed, are completely blank for a while before actually loading.

Despite that, it's kind of cool to see the widgets update in real time. If this also lowers the client side strain, then we will also face much less times the errors loading the page that have plagued us for the last months, which was much needed.

--------------------
Blaugrana al vent. Our very flag
Administrator
Site Staff Manager, Content Writer, Console Manager
Vizzed #1 Hardstyle fan


Affected by 'Laziness Syndrome'

Registered: 07-03-13
Location: Barcelona, Spain
Last Post: 1 day
Last Active: 21 hours

01-26-17 10:33 PM
Yuna1000 is Offline
| ID: 1326941 | 26 Words

Yuna1000
Level: 93


POSTS: 1089/2468
POST EXP: 319231
LVL EXP: 7923465
CP: 138836.0
VIZ: 354063

Likes: 1  Dislikes: 0
Davideo7 : Awesome!  Thank you so much for working on making Vizzed faster and more efficient, we really appreciate all of your time and efforts!
Davideo7 : Awesome!  Thank you so much for working on making Vizzed faster and more efficient, we really appreciate all of your time and efforts!

--------------------
Love. Live. Life. Peace. Yuna1000
Vizzed Elite

Affected by 'Laziness Syndrome'

Registered: 12-08-14
Location: Realm of Dreams
Last Post: 2118 days
Last Active: 816 days

Post Rating: 1   Liked By: Davideo7,

01-27-17 04:39 AM
Davideo7 is Online
| ID: 1326967 | 17 Words

Davideo7
Level: 357


POSTS: 41266/45824
POST EXP: 3545950
LVL EXP: 867975921
CP: 200072.4
VIZ: 129558730

Likes: 0  Dislikes: 0
Mohammedroxx3 :
EX Palen :
I removed that feature for now. Content should load fine for you guys now.
 
Mohammedroxx3 :
EX Palen :
I removed that feature for now. Content should load fine for you guys now.

 
The Owner
Owner, Developer, Advertiser, etc
Founder, Mod, Investor


Affected by 'Laziness Syndrome'

Registered: 12-06-04
Location: Wisconsin
Last Post: 4 days
Last Active: 1 sec.

01-27-17 08:57 AM
Mohammedroxx3 is Offline
| ID: 1326997 | 14 Words

Mohammedroxx3
mohammedroxx3
Level: 126


POSTS: 4602/4716
POST EXP: 427341
LVL EXP: 22486624
CP: 37490.9
VIZ: 1469528

Likes: 0  Dislikes: 0
Davideo7- It seems to work perfectly fine for me now and it still auto-updates. 
Davideo7- It seems to work perfectly fine for me now and it still auto-updates. 

--------------------
Ask Me & That One Forum Staff Anything!
Night Stars Layout by: Mohammedroxx3
Vizzed Elite

Affected by 'Laziness Syndrome'

Registered: 03-03-13
Location: Earth?
Last Post: 1870 days
Last Active: 1758 days

01-27-17 03:26 PM
is Offline
| ID: 1327023 | 63 Words


JigSaw
Level: 167


POSTS: 7151/7936
POST EXP: 584185
LVL EXP: 60583390
CP: 8069.8
VIZ: -46029578

Likes: 0  Dislikes: 0
This is very neat, will you be adding AJAX to new post page at all or on the forum index?

AJAX heavily sites like Hotmail and Facebook can take me several minutes to load up (due to my low speed net) but on here it loads pretty fast 10-30 seconds per page (which is basically the same timeframe it took without the AJAX).
This is very neat, will you be adding AJAX to new post page at all or on the forum index?

AJAX heavily sites like Hotmail and Facebook can take me several minutes to load up (due to my low speed net) but on here it loads pretty fast 10-30 seconds per page (which is basically the same timeframe it took without the AJAX).

--------------------
Vizzed Elite
PHP Developer, Security Consultant

Affected by 'Laziness Syndrome'

Registered: 04-06-06
Location: Area 51
Last Post: 2484 days
Last Active: 2478 days

01-27-17 04:47 PM
Davideo7 is Online
| ID: 1327030 | 43 Words

Davideo7
Level: 357


POSTS: 41272/45824
POST EXP: 3545950
LVL EXP: 867975921
CP: 200072.4
VIZ: 129558730

Likes: 0  Dislikes: 0
JigSaw : I'm getting more and more comfortable with AJAX so because of that, I'll most likely utilize it more throughout the site as long as it doesn't negatively affect anything. A lot of sites use it poorly so I'll avoid that for sure.
 
JigSaw : I'm getting more and more comfortable with AJAX so because of that, I'll most likely utilize it more throughout the site as long as it doesn't negatively affect anything. A lot of sites use it poorly so I'll avoid that for sure.

 
The Owner
Owner, Developer, Advertiser, etc
Founder, Mod, Investor


Affected by 'Laziness Syndrome'

Registered: 12-06-04
Location: Wisconsin
Last Post: 4 days
Last Active: 1 sec.

Links

Page Comments

Dove4JS - 12-12-20 05:26 AM
no image
joldboy70 - 07-10-20 11:13 AM
test
joldboy70 - 07-10-20 11:12 AM
test
savage23157 - 04-08-20 01:33 PM
Hi im new vizzed
zokuza - 11-18-19 09:08 AM
final got playstaion games unlock yes baby digimon world here i com
yoshirulez! - 02-10-17 08:45 PM
MAY MAYS
yoshirulez! - 02-10-17 08:45 PM
maymays
yoshirulez! - 02-07-17 11:13 PM
OwO what's this?
yoshirulez! - 02-07-17 11:13 PM
OwO what's this?
yoshirulez! - 02-07-17 11:13 PM
OwO what's this?

Adblocker detected!

Vizzed.com is very expensive to keep alive! The Ads pay for the servers.

Vizzed has 3 TB worth of games and 1 TB worth of music.  This site is free to use but the ads barely pay for the monthly server fees.  If too many more people use ad block, the site cannot survive.

We prioritize the community over the site profits.  This is why we avoid using annoying (but high paying) ads like most other sites which include popups, obnoxious sounds and animations, malware, and other forms of intrusiveness.  We'll do our part to never resort to these types of ads, please do your part by helping support this site by adding Vizzed.com to your ad blocking whitelist.

×