i had this error with post on register
Fatal error: Call to undefined function: delete_query() in /home/yakuzas/domains/yakuzas.org/public_html/forums/inc/plugins/postonreg.php on line 38
You need to be running Version 1.2 for Post On Reg to work. Thats why its in the catagory of 'MyBB 1.2'.
Tiki, I'm having a problem with Private Message Admin (the latest version, just downloaded it). I'm getting just a blank page when I access the page. The content is all there when I view the source code, but there's nothing being displayed. I copied the source into a new html file on my desktop to play around with it. The page on my desktop was also blank. The only way I found to make the content appear was to remove the following from the header:
<script type="text/javascript" src="pmadmin.php?adminsid=d8884843fe2e3d5aadf78d2ba6205bc2&get_javascript" />
After removing that, the page worked. So, there might be a problem with something there that you may want to have a look at.
Yeah, me too! I upload all the files and when I click on the link, all I get is a blank page!
Does using the following work?
<script type="text/javascript" language="Javascript" src="pmadmin.php?adminsid=26af8bb48782460d2f73324c9e266f70&get_javascript" />
Nah, that was like the first thing I tried when I realized what the problem area was. Sorry, I probably should've mentioned that.
hmmm... this is really really wierd....
If you go to pmadmin.php?..Admin-sid-here...&get_javascript does it show the following?
var error_empty_search = "You cannot leave the Search Field empty!";
var error_xml = "Cannot create an XMLHTTP instance";
var deleted = "Deleted";
var unarchived = "Un Archived";
var archived = "Archived";
var pmnum = "Private Message #";
var successfully = "Successfully";
var error_request = "There was a problem with the request. Error Code:";
var delete_confirm = "Are you sure you want to delete this Private Message?";
var archive_confirm = "Are you sure you want to archive this Private Message?";
var unarchive_confirm = "Are you sure you want to un-archive this Private Message?";
var cOver = "#EEB0B0";
var altbg2 = "#EEEEEE";
var altbg1 = "#F3F3F3";
function deletepid(pid)
{
var deletepm = confirm(delete_confirm+" ("+pid+")");
if(deletepm)
{
location.href = "pmadmin.php?adminsid=26af8bb48782460d2f73324c9e266f70&deletepid="+pid+"";
}
else
{
}
}
function archivepid(pid)
{
var archivepm = confirm(archive_confirm+" ("+pid+")");
if(archivepm)
{
location.href = "pmadmin.php?adminsid=26af8bb48782460d2f73324c9e266f70&archivepid="+pid+"";
}
else
{
}
}
function unarchivepid(pid)
{
var unarchivepm = confirm(unarchive_confirm+" ("+pid+")");
if(unarchivepm)
{
location.href = "pmadmin.php?adminsid=26af8bb48782460d2f73324c9e266f70&unarchivepid="+pid+"";
}
else
{
}
}
function populatemenu(what, pmid)
{
menu1[0]='<a href="" onclick="deletepid('+pmid+'); return false;">Delete</a>'
menu1[1]='<a href="" onclick="archivepid('+pmid+'); return false;">Archive</a>'
if (ie4||ns6) dropmenuobj.innerHTML=what.join("")
}
function dropdownmenu(obj, e, menucontents, menuwidth, pmid)
{
if (window.event) event.cancelBubble=true
else if (e.stopPropagation) e.stopPropagation()
clearhidemenu()
dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv
populatemenu(menucontents, pmid)
if (ie4||ns6)
{
showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)
dropmenuobj.x=getposOffset(obj, "left")
dropmenuobj.y=getposOffset(obj, "top")
dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px"
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px"
}
return clickreturnvalue()
}
function clickreturnvalue()
{
if (ie4||ns6) return false
else return true
}
function contains_ns6(a, b)
{
while (b.parentNode)
if ((b = b.parentNode) == a) return true;
return false;
}
function dynamichide(e)
{
if (ie4&&!dropmenuobj.contains(e.toElement)) delayhidemenu()
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget)) delayhidemenu()
}
function hidemenu(e)
{
if (typeof dropmenuobj!="undefined")
{
if (ie4||ns6) dropmenuobj.style.visibility="hidden"
}
}
function delayhidemenu()
{
if (ie4||ns6) delayhide=setTimeout("hidemenu()",disappeardelay)
}
function clearhidemenu()
{
if (typeof delayhide!="undefined") clearTimeout(delayhide)
}
if (hidemenu_onclick=="yes") document.onclick=hidemenu
var savedinnertext = '';
function hl(source, color, pmid)
{
source.style.backgroundColor=color;
}
function form_validate (form)
{
if(form.user.value == "")
{
alert(error_empty_search);
form.user.focus();
return false;
}
return true;
}
var http_request = false;
function makeRequest(pid, type) {
http_request = false;
if (window.XMLHttpRequest)
{ // Mozilla, Safari,...
http_request = new XMLHttpRequest();
if (http_request.overrideMimeType)
{
http_request.overrideMimeType('text/xml');
}
}
else if (window.ActiveXObject)
{ // IE
try {
http_request = new ActiveXObject("Msxml2.XMLHTTP");
} catch (e) {
try {
http_request = new ActiveXObject("Microsoft.XMLHTTP");
} catch (e) {}
}
}
if (!http_request)
{
alert(error_xml);
return false;
}
var height = self.screen.width/2;
var width = self.screen.height/2;
var text = "";
http_request.onreadystatechange = function()
{
if (http_request.readyState == 4)
{
if (http_request.status == 200)
{
if(type == "delete")
{
text = deleted;
}
else if(type == "unarchive")
{
text = unarchived;
}
else if(type == "archive")
{
text = archived;
}
else
{
}
document.getElementById('column-'+pid+'').innerHTML = "";
alert(pmnum+pid+" "+text+" "+successfully);
}
else
{
alert(error_request+http_request.status);
}
}
}
if(type == "delete")
{
http_request.open('GET', 'pmadmin.php?adminsid=26af8bb48782460d2f73324c9e266f70&deletepid='+pid+'', true);
}
else if(type == "unarchive")
{
http_request.open('GET', 'pmadmin.php?adminsid=26af8bb48782460d2f73324c9e266f70&unarchivepid='+pid+'', true);
}
else if(type == "archive")
{
http_request.open('GET', 'pmadmin.php?adminsid=26af8bb48782460d2f73324c9e266f70&archivepid='+pid+'', true);
}
else
{
}
http_request.send(null);
}
var menu1=new Array()
var menuwidth='165px' //default menu width
var menubgcolor='lightgray' //menu bgcolor
var disappeardelay=250 //menu disappear speed onMouseout (in miliseconds)
var hidemenu_onclick="yes" //hide menu when user clicks within menu?
var ie4=document.all
var ns6=document.getElementById&&!document.all
if (ie4||ns6) document.write('<div id="dropmenudiv" style="visibility:hidden;width:'+menuwidth+';background-color:'+menubgcolor+'" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>')
function getposOffset(what, offsettype)
{
var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
var parentEl=what.offsetParent;
while (parentEl!=null)
{
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}
function showhide(obj, e, visible, hidden, menuwidth)
{
if (ie4||ns6) dropmenuobj.style.left=dropmenuobj.style.top=-500
if (menuwidth!="")
{
dropmenuobj.widthobj=dropmenuobj.style
dropmenuobj.widthobj.width=menuwidth
}
if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover") obj.visibility=visible
else if (e.type=="click") obj.visibility=hidden
}
function iecompattest()
{
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}
function clearbrowseredge(obj, whichedge)
{
var edgeoffset=0
if (whichedge=="rightedge")
{
var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure) edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth
}
else
{
var topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffset
var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure)
{
edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) edgeoffset=dropmenuobj.y+obj.offsetHeight-topedge
}
}
return edgeoffset
}
Maybe Galen can help with that. All I know is that the plug in doesn't work!
Yes. When I put that in my browser, I got the file download dialog. Downloaded the pmadmin.php that it gave me and what you posted was the contents of that file.
odd... There are no Javascript errors when I use the JS file.... mhmhmhmmm