///***********************************************************
* This site uses "Image Thumbnail Viewer Script"
* (c) Dynamic Drive (www.dynamicdrive.com)
* This notice must stay intact for legal use.
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************************/
thumbnailviewer['defineLoading'] = ' Loading image ...';
thumbnailviewer['definefooter'] = '
thumbnailviewer['enableAnimation'] = true;
thumbnailviewer.createthumbBox();
//]]>
Phorum Support Forums
GS_googleAddAdSenseService("ca-pub-7076699294893330");
GS_googleEnableAllServices();
GA_googleAddSlot("ca-pub-7076699294893330", "phorum_banner");
GA_googleFetchAds();
GA_googleFillSlot("phorum_banner");
// document.body.style.height = "100%";
var curmouseover;
var phorum_mod_post_previews_height = 120;
var phorum_mod_post_previews_width = 500;
var phorum_mod_post_previews_show_AJAX_error = false;
var phorum_mod_post_previews_enable_mark_read = false;
//get the actual height of the window
function phorum_mod_post_previews_f_clientHeight() {
return phorum_mod_post_previews_f_filterResults (
window.innerHeight ? window.innerHeight : 0,
document.documentElement ? document.documentElement.clientHeight : 0,
document.body ? document.body.clientHeight : 0
);
}
function phorum_mod_post_previews_f_filterResults(n_win, n_docel, n_body) {
var n_result = n_win ? n_win : 0;
if (n_docel && (!n_result || (n_result > n_docel)))
n_result = n_docel;
return n_body && (!n_result || (n_result > n_body)) ? n_body : n_result;
}
//get the position of the read url to set the position of the preview div
function phorum_mod_post_previews_findPos(obj) {
var curleft = curtop = 0;
//find the offset of the read url
if (obj.offsetParent) {
do {
curleft += obj.offsetLeft;
curtop += obj.offsetTop;
} while (obj = obj.offsetParent);
}
// set the preview div below the read url by default
curtop += 24;
// find the actual potential position of the preview div on the screen
if (document.body.scrollTop) {
actualheight = curtop - document.body.scrollTop;
} else if (document.documentElement.scrollTop) {
actualheight = curtop - document.documentElement.scrollTop
} else if (window.pageYOffset) {
actualheight = curtop - window.pageYOffset;
} else {
actualheight = curtop;
}
// find the maximum height to place the preview div at which it will be fully visible
windowheight = phorum_mod_post_previews_f_clientHeight();
maxtop = windowheight - phorum_mod_post_previews_height - 24;
//if the preview div will vertically fall outside the screen, put it above the url
if (actualheight > maxtop) curtop = curtop - phorum_mod_post_previews_height - 37;
//if the preview div will horizontally fall outside the screen, pull it back in
maxleft = document.body.clientWidth - phorum_mod_post_previews_width - 20;
if (curleft > maxleft) curleft = maxleft;
return [curleft,curtop];
}
function phorum_mod_post_previews_get_message_id(ahref) {
first_startpos = ahref.lastIndexOf("/");
startpos = ahref.indexOf("-",first_startpos);
altstartpos = ahref.indexOf(",",first_startpos);
stoppos = ahref.indexOf(",phorum_session",first_startpos);
if (stoppos < 0) {
if (startpos < 0) {
altstartpos += 1;
message_id = ahref.substr(altstartpos);
altstartpos = message_id.indexOf(",");
if (altstartpos > 0) {
message_id = message_id.substr(altstartpos + 1);
}
} else {
startpos += 1;
message_id = ahref.substr(startpos);
}
} else {
if (startpos < 0) {
altstartpos += 1;
message_id = ahref.substr(altstartpos,stoppos - altstartpos);
} else {
startpos += 1;
message_id = ahref.substr(startpos);
}
}
return message_id;
}
function phorum_mod_post_previews_getpreview() {
preview_node = this;
//grab the message id from the url
ahref = preview_node.href;
message_id = phorum_mod_post_previews_get_message_id(ahref);
//make sure we have a valid message id
if (message_id != parseInt(message_id)) return;
//make sure a roaming mouse doesn't pull in the wrong preview data
curmouseover = message_id;
previewer = document.getElementById("phorum_mod_post_preview_preview_div");
//get the position of the read url to set the position of the preview div
preview_pos = phorum_mod_post_previews_findPos(preview_node);
//run the wonderful AJAX api to get our preview data
Phorum.Ajax.call({
"call" : "phorum_mod_post_previews_getpreview",
"message_id" : message_id,
"onSuccess" : function (data) {
//make sure there is preview data to show
if (data != "phorum_mod_post_previews_getpreview_error_no_body") {
//make sure a roaming mouse doesn't pull in the wrong preview data
if (curmouseover == data[0]) {
// enable the mark read div if the admin has allowed it
if (data[2]) {
preview_node.oncontextmenu = phorum_mod_post_previews_mark_read;
previewhelp = document.getElementById("phorum_mod_post_previews_help_div");
previewhelp.style.display = "block";
previewhelp.style.left = (preview_pos[0] + phorum_mod_post_previews_width - previewhelp.clientWidth) + "px";
previewhelp.style.top = (preview_pos[1] - previewhelp.clientHeight) + "px";
}
previewer.innerHTML = data[1];
previewer.style.display = "block";
previewer.style.left=preview_pos[0]+"px";
previewer.style.top=preview_pos[1]+"px";
}
}
},
"onFailure" : function (error) { if (phorum_mod_post_previews_show_AJAX_error) alert("Error: " + error); }
});
}
//hide the preview div when not over the url
function phorum_mod_post_previews_hidepreview(preview_node) {
//make sure a roaming mouse doesn't pull in the wrong preview data
curmouseover = null;
previewer = document.getElementById("phorum_mod_post_preview_preview_div");
previewhelp = document.getElementById("phorum_mod_post_previews_help_div");
previewhelp.style.display = "none";
previewer.style.display = "none";
previewer.innerHTML = " ";
}
// ]]>
Official Forums | Topics | Posts | Last Post |
---|---|---|---|
5.2 Phorum SupportIf you are having a problem with Phorum, this is the place to look for an answer. You can also find help in our chat room. RSS | 2,918 | 15,268 | April 17, 2019 03:04AM |
Developers CornerPosts only allowed for Phorum Core Developers, readable for everyone. RSS | 2 | 7 | November 23, 2012 09:54PM |
Phorum DevelopmentDiscussion of Phorum development. No support requests please. RSS | 896 | 5,255 | March 01, 2019 04:27PM |
AnnouncementsRead this forum first to find out the latest information. RSS | 44 | 238 | August 23, 2017 12:27PM |
Add-ons and Hacks | Topics | Posts | Last Post |
5.2 TemplatesThe template language was updated and improved in Phorum 5.2. You will need new templates and new template hacks and mods. RSS | 214 | 1,259 | January 16, 2019 11:33AM |
5.2 Language FilesYou can post completed or in progress translations of Phorum 5.2 here. RSS | 51 | 306 | May 20, 2018 05:10AM |
5.2 Modules/Add-OnsAll modules known to work or written for 5.2.0 and up. RSS | 229 | 4,953 | April 17, 2019 03:25AM |
Phorum IntegrationNeed to make Phorum play with your CMS? Want to use Phorum's user database for the rest of your site. Discuss those topics with others here. RSS | 287 | 2,505 | August 01, 2018 11:57AM |
Phorum Hack/Mod RequestsPost and discuss requests for new hacks and modules in here. RSS | 518 | 2,811 | December 14, 2017 02:34AM |
Support in other languages | Topics | Posts | Last Post |
French Support / forum francophoneThis forum is for support in French by other users. No questions in here will be answered by the developers, as we don't speak French. This forum uses the French Language File (UTF-. RSS | 376 | 1,369 | October 25, 2018 05:03PM |
Soporte en españolForo para soporte entre usuarios en español. RSS | 2 | 7 | October 19, 2011 09:33PM |
Русская поддержка движка PhorumРусская поддержка ведется только здесь. Пожалуйста задавайте вопросы на русском языке только в этом форуме. Создатели форума не понимают по русски, и поэтому они не смогут ответить вам. Последнюю версию перевода вы можете скачать с официального сайта поддержки phorum в России: http://phorumrc.net/ RSS | 27 | 86 | October 25, 2018 05:04PM |
Polish SupportPolskojęzyczne forum użytkowników skryptu Phorum. Z powodu bariery językowej na pytania w tym dziale główni twórcy skryptu nie odpowiadają. RSS | 40 | 171 | September 13, 2017 10:31AM |
Outdated forums | Topics | Posts | Last Post |
Phorum 5.1/5.0 All stuff about our older stable but now deprecated versions 5.1 and 5.0 goes here. | |||
Phorum 3 forums (READ ONLY) These forums were for supporting the old phorum3.x-versions. They are now read only. |
style="width:100%;
padding: 0px;
margin-top:10px;
margin-bottom:10px">
Phorum Support Forums - Forum Statistics
Global
Topics: 17,971, Posts: 92,605, Users: 7,620.
Our newest member GayD123.
// var phorum_mod_post_previews_read_check = /https:\/\/www.phorum.org\/phorum5\/read.php/;
function assign_getpreview_functions() {
anchors = document.getElementsByTagName("a");
for (i in anchors) {
if (anchors[i].href) {
ahref = anchors[i].href;
if (ahref.match(phorum_mod_post_previews_read_check)) {
anchors[i].onmouseover= phorum_mod_post_previews_getpreview;
anchors[i].onmouseout= phorum_mod_post_previews_hidepreview;
anchors[i].title = "";
}
}
}
}
assign_getpreview_functions();
// ]]>
// $PJ(document).ready(function(){
// Make sure that the menus are in the top level #phorum elt.
// This is needed to make positioning of the menus robust.
$PJ('div.mod_jumpmenu_menu').each(function () {
$PJ('body').append(this);
});
// Initialize the Phorum jumpmenu.
PhorumJumpMenu.init();
});
// ]]>
Y = YAHOO.util;
function phorumAjaxMarkRead(e) {
Y.Event.preventDefault(e);
href = this.getAttribute("href");
if(href && (href.indexOf("markread") >= 0 || href.indexOf("markthreadread") >= 0)){
Y.Connect.asyncRequest('GET', href, {success: function(o){}}, null);
tableRow = Y.Dom.getAncestorByTagName(this, "tr");
newFlags = Y.Dom.getElementsByClassName("new-flag", null, tableRow);
if(newFlags.length){
for(n in newFlags){
tableCell = Y.Dom.getAncestorByTagName(newFlags[n], "td");
if(tableCell) {
value = tableCell.innerHTML;
re = /^[ \n]*([0-9,]+)/;
match = re.exec(value);
if(match){
tableCell.innerHTML = match[1];
}
}
}
}
newLinks = Y.Dom.getElementsByClassName("message-new", "a");
if(newLinks.length){
for(n in newLinks) {
Y.Dom.removeClass(newLinks[n], "message-new");
}
}
redFlags = Y.Dom.getElementsByClassName("icon1616", "img");
if(redFlags.length){
for(n in redFlags) {
}
}
}
}
mrLinks = Y.Selector.query("a");
for(a in mrLinks) {
href = mrLinks[a].getAttribute("href");
if(href && (href.indexOf("markread") >= 0 || href.indexOf("markthreadread") >= 0)){
Y.Event.addListener(mrLinks[a], "click", phorumAjaxMarkRead);
}
}
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-89211-1']);
_gaq.push(['_trackPageview']);
_gaq.push(['_trackPageLoadTime']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();