1
General Support / Re: This to alert createaforum officer. I need very quick support on my forum domain
« on: January 12, 2015, 01:40:44 am »
If you've sent a PM, no need to create a post.
Create A Forum Installed
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
<script>var hideTabs=["tabname1","tabname2"];for(i=0;i<hideTabs.length;i++)$("#menu_nav").children("li").children("a").children("span").each(function(){$(this).text().trim().toLowerCase()==hideTabs[i].toLowerCase()&&$(this).remove()});</script>
Most likely, that website was using a mod which users can't install here at CreateAForum.The link is only available if you upload your avatar directly to the site, which not everyone does. The filename is also unpredictableI've seen a website do it before, it's not createaforum but it's an SMF
I just added my own money system to it, but there is a huge flaw with the code, users purchasing must have permission to edit the fields making this useless.There isn't any better way to implement this without creating a server to store the information in
<script>function xboi209_hidetabs(tab){$("#menu_nav > li:contains('"+tab+"')").remove();}xboi209_hidetabs("Search");</script>
function accID(n){var t,i;return $.ajax({url:smf_scripturl+"?action=mlist;sa=search",async:!1,type:"POST",data:"search="+n+"&fields%5B%5D=name"}).done(function(r){if(t=$(r).find("#mlist").children("table").children("tbody").children("tr").eq(0).children("td").eq(1).children("a"),t.html()!==n)return console.log("accID: Username "+n+" not found"),!1;i=t.attr("href")}).fail(function(){return console.log("accID: Failed to send POST request"),!1}),i.split("u=")[1]}
accID(username);
Looks neatHey would you mind telling me the purpose of this sequence number and how it is generated? The code makes a GET request solely for the sequence number which is pretty overkill