News:

Create A Forum Installed

Show Posts

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.

Topics - CyanProductions

Pages: [1]
1
Create a Forum Codes and Support / [Code/Fix] Quick Reply
« on: February 26, 2015, 06:20:18 pm »
{Code}: Quick Reply Fix

This code utilizes jQuery, please use the latest version found in this thread: http://support.createaforum.com/5/jquery-v1-8-update/Footers:

Description: Fix for the quick reply(Now no longer requires you to press it twice)

Footers:

Code: [Select]
<script>
javascript:oQuickReply.swap();
</script>


- Cyan

2
When I go to any page on my forums it goes to this: http://cyanproductions.createaforum.com/NaN page and constantly refreshes. I tried disabling JavaScript but that didn't work.

3
Create a Forum Codes and Support / [Code] Spoiler
« on: January 11, 2015, 12:19:52 pm »
{Code}: Spoiler



Description:
Show/Hide objects(text, image, etc..)


This code utilizes jQuery, please use the latest version found in this thread: http://support.createaforum.com/5/jquery-v1-8-update/

Footers:

Quote
<script>
$("[class*='show_text']").hide();
var show_count = 0; $( ".show_" ).click(function() {   show_count = $(this).attr("id");   if ($("#" + show_count + ".show_text").is(":hidden")) {     $("#" + show_count + ".show_text").show();     $("#" + show_count + ".show_hint").hide();     $(this).text("Hide")   } else {     $("#" + show_count + ".show_text").hide();     $("#" + show_count + ".show_hint").show();     $(this).text("Show")   } });
</script>



Setup: Create html buttons: <button id="0" class="show_">Show</button> | Create spoiler hint: <p id="0" class="show_hint">(this is a spoiler)</p> | Create text that hides and shows: <p id="0" class="show_text">This is Text</p>

Editing: If you would like to add more than 1 spoiler, simply copy and paste the button and text. Change the 0 to {1,2,3,4,5,6,7, etc...}



Example:
[Show](this is a spoiler)


[Hide] This is text




- Cyan

4
Suggestions / Edit Reputation
« on: January 07, 2015, 08:29:44 pm »
Add a permission to edit your own karma.

5
Create a Forum Codes and Support / [Code] Page Off Limits
« on: January 04, 2015, 03:59:14 pm »


Description: Make a page Off Limits to a user

This code utilizes jQuery, please use the latest version found in this thread: http://support.createaforum.com/5/jquery-v1-8-update/

Footers:

Quote
<script>
if (location.href == smf_scripturl + "?X") { if ($("li.greeting").text() == "Hello Y") { $("div#main_content_section").remove(); $( "div#footer_section div.frame" ).before( "<br><center><h1>This is Off Limits to you</h1></center><br>" );}}
</script>


Editing: Change the red X to the url you want off limits. You only need the segment of the url after the ?
Change the red Y to the user you would like to make this Off limits to, you can change the first =, on the same line as the red Y to an !, this will only give that user access to the page.

6
Create a Forum Codes and Support / [Code] Hide Tabs (Compacted)
« on: January 04, 2015, 12:14:12 am »



This code will be able to hide any tab you want.


Instructions:
1) Go to your Headers & Footers  http://FORUM.createaforum.com/index.php?action=admin;area=style;sa=headers;


2) This code utilizes jQuery, please use the latest version found in this thread: http://support.createaforum.com/5/jquery-v1-8-update/


3) Copy and paste this code in your Footers:


Quote
<script>var tab="X"; $("li#button_"+tab).remove()</script>


4) Replace the red X with one of the following:
Actual Tab                               Replace X with
Home                                       home
Help                                         help
Search                                     search
Admin                                      admin
Moderate                                 moderate
Profile                                      profile
My Messages                           pm
Calendar                                  calendar
Arcade                                     arcade
Gallery                                     gallery
Members                                  mlist
Chat                                        chat
Logout                                     logout
Custom Tab                             cusY - Replace the Y with the number of the tab in order of creation


5) Save

7
Style Support / Headers and Footers reset
« on: January 03, 2015, 04:33:12 pm »
Did you guys decide to reset the Headers and Footers?
Because all of my code it gone...

8
Create a Forum Codes and Support / IP adresses
« on: January 03, 2015, 03:46:21 pm »
Is there a way or a piece of code that can check or matching IP adresses?
It get's boring having to check everyones account.

9
Code: [Select]
<script type="text/javascript">
$('<img />').attr({
  src:'http://fc08.deviantart.net/fs25/f/2008/101/c/5/war_skull_16x16__by_Xicidal.gif',
  width:'16',
  height:'16'
}).prependTo($('<a />').attr({
  href:'http=//cyanproductions.createaforum.com/index.php?action=profile;u=1'
})</script>


Can somebody fix this up?
I want the image to appear beside my name in the online list.

10
Create a Forum Codes and Support / Can somebody fix this code?
« on: November 10, 2014, 07:23:56 pm »
Code: [Select]
if  (("input[text='customfield[cust_money]']").val() > localStorage.getItem("price")) {


}


I've made a custom field called money and I set an localStorage Item as price. How do I get it to work in an if statement
btw, it uses JQuery.

11
This forum isn't your average forum. It's mainly about game development while still keeping that normal forum feel.
If you are interested in joining here is the Link

Pages: [1]