Welcome to the [HSX] website!

Been Gaming since 2003

Community Driven Site

Gaming, Web Development, and Support

  

 
Main Menu
 
DFG
 Home
 Join our Clan
 [HSX] Roster
 BF3 Stats
 Forums
 News
 Downloads
 News Letter
 Video tutorials
 Supporters
 Uploads
 F.A.Q
· FAQ
· Docs
· Forums FAQ
 [HS] History
 PHP Nuke Tools
 WhoIS Lookup
 Site Map
 Write a Review
 Image Repo
 Logout
DFG
DFG DFG DFG

 
[HSX] Donations
 
DFG
Donation
This here is a combined total of what we need to keep us going each month.

48 %

Donate

End DateJul 01
Target$50.00
Below Target$26.03
CurrencyUSD

Donators This Month
Jun 04Rips$23.97
DFG
DFG DFG DFG

 
 Search our Site
 
DFG DFG
DFG DFG DFG

 
Theme Management
 
DFG


DFG
DFG DFG DFG

 
Survey
 
DFG What is your favorite game to play ATM?

WarThunder
World of Tanks
H1Z1
MechWarrior Online
ARK
WarFace
SWTOR
BattleField serier
COD Series
Diablo
Armored Warfare



Results
Polls

Votes 777
Comments: 0
DFG
DFG DFG DFG

 
Honey Pot
 
DFG
Bots in the pot!
We have [1459] bots stopped!

DFG
DFG DFG DFG

     
DFG HeadShot Extreme :: View topic - About Tutorial Module


Search for at
HeadShot Extreme Advanced Search

About Tutorial Module
Goto page 1, 2  Next
Post new topic    Reply to topic    printer-friendly view   Thank Post    HeadShot Extreme Forum Index -> Nuke Blocks / Modules Support
View previous topic :: View next topic  
Author Message
Teo
NOOB!!!
NOOB!!!







  • » Show Info «


Status: Teo is offline
Post Posted: Wed May 20, 2015 8:54 am Post subject: No icon About Tutorial Module Reply with quote

Hello mate,

i was adjusting the Tutorial Module a bit fixing some bug, i noticed in the file:

how to switch text input area to ckeditor same as:

../admin.php?op=addtutorial

in the user submissions this is the link:

../modules.php?name=Tutorials&file=submit

cheers.
Back to top
View user's profile Send private message Visit poster's website
HeadShot Domain, Been in buisness for over 10 years...
[HSX]coRpSE
Top Dog
Top Dog
Nuke Dev / Coder
Nuke Dev / Coder



Clan Leader


This user has donated over $300 to the clan.

coRpSE
Currently Offline
Last Seen Online:
18 hrs, 14 mins ago

Most Played:
This week: 3.6hrs.
Total played: 1,063hrs.


  
Are you really commited?



  • » Show Info «


Status: coRpSE is offline
Post Posted: Thu May 21, 2015 2:44 am Post subject: No icon Re: About Tutorial Module Reply with quote

Try this

Open: public_html/modules/Tutorials/submit.php

Find:

PHP:
    echo "</select><br><br>"
    
.""._TUTADMINDESCRIPTION255."<br><textarea name=\"description\" cols=\"60\" rows=\"5\"></textarea><br><br>";
 
       tutorial_form();
 
       echo "            <td colspan=\"9\"><span class=\"gen\">
              <textarea name=\"message\" rows=\"40\" cols=\"100%\" wrap=\"virtual\" class=\"post\" onselect=\"storeCaret(this);\" onclick=\"storeCaret(this);\" onkeyup=\"storeCaret(this);\"></textarea>
              </span></td>
          </tr>
        </table>
        </span></td>
    </tr>
  </table>"
 


Replace With:
PHP:
        echo "</select><br><br>";
 
   echo _TUTADMINDESCRIPTION255."<br><textarea name=\"description\" cols=\"60\" rows=\"5\"></textarea><br><br>";
 
   echo _TUTADMINTUTORIALTEXT.":<br>
         <font class=\"tiny\">"
._TUTADMINPAGEBREAK."</font><br>";
 
       echo "<span class=\"gen\">";
 
       echo Make_TextArea('message''''message''80%''230px'false);
 
       echo "</span><br/>";
//    echo "</select><br><br>"
//    .""._TUTADMINDESCRIPTION255."<br><textarea name=\"description\" cols=\"60\" rows=\"5\"></textarea><br><br>";
//        tutorial_form();
//        echo "            <td colspan=\"9\"><span class=\"gen\">
//              <textarea name=\"message\" rows=\"40\" cols=\"100%\" wrap=\"virtual\" class=\"post\" onselect=\"storeCaret(this);\" onclick=\"storeCaret(this);\" onkeyup=\"storeCaret(this);\"></textarea>
//              </span></td>
//          </tr>
//        </table>
//        </span></td>
//    </tr>
//  </table>"; 
 


Save & Close

As you can see, I did not remove the old code, I just canceled it out with a // and built in a new section. I did a quick test on my site and seemed to post okay, but I did not go crazy on the testing, barely at all. but I believe it should work.


Expand


Last edited by coRpSE on Tue May 26, 2015 7:55 pm; edited 5 times in total
Back to top
View user's profile Send private message Visit poster's website
HeadShot Domain, Been in buisness for over 10 years...
Teo
NOOB!!!
NOOB!!!







  • » Show Info «


Status: Teo is offline
Post Posted: Thu May 21, 2015 5:53 am Post subject: No icon Re: About Tutorial Module Reply with quote

oh gr8! thank no problem i will test it and i will be back here. :)

PS/ i noticed another stuff need to be fixed, i can post here or i have to open another topic?


 
Back to top
View user's profile Send private message Visit poster's website
HeadShot Domain, Been in buisness for over 10 years...
Sponsor
Teo
NOOB!!!
NOOB!!!







  • » Show Info «


Status: Teo is offline
Post Posted: Thu May 21, 2015 6:03 am Post subject: No icon Re: About Tutorial Module Reply with quote

nope it's not correct, something wrong with table, i'm trying to fix it.


 
Back to top
View user's profile Send private message Visit poster's website
HeadShot Domain, Been in buisness for over 10 years...
[HSX]coRpSE
Top Dog
Top Dog
Nuke Dev / Coder
Nuke Dev / Coder



Clan Leader


This user has donated over $300 to the clan.

coRpSE
Currently Offline
Last Seen Online:
18 hrs, 14 mins ago

Most Played:
This week: 3.6hrs.
Total played: 1,063hrs.


  
Are you really commited?



  • » Show Info «


Status: coRpSE is offline
Post Posted: Thu May 21, 2015 8:09 pm Post subject: No icon Re: About Tutorial Module Reply with quote

Try it now. I just tried it on mine and I found there was an error. I just updated the code in the first post I did.


 
Back to top
View user's profile Send private message Visit poster's website
HeadShot Domain, Been in buisness for over 10 years...
Teo
NOOB!!!
NOOB!!!







  • » Show Info «


Status: Teo is offline
Post Posted: Fri May 22, 2015 2:38 am Post subject: No icon Re: About Tutorial Module Reply with quote

Hello mate, nope white page now.

found out is missing a: ;
here:
echo "</span><br>"

should be:

echo "</span><br>";


--edited--

it should be added also at Waiting Submissions area when you have to approve or deny it.

admin.php?op=subedit&subid=X


 
Back to top
View user's profile Send private message Visit poster's website
HeadShot Domain, Been in buisness for over 10 years...
Sponsor
[HSX]coRpSE
Top Dog
Top Dog
Nuke Dev / Coder
Nuke Dev / Coder



Clan Leader


This user has donated over $300 to the clan.

coRpSE
Currently Offline
Last Seen Online:
18 hrs, 14 mins ago

Most Played:
This week: 3.6hrs.
Total played: 1,063hrs.


  
Are you really commited?



  • » Show Info «


Status: coRpSE is offline
Post Posted: Fri May 22, 2015 4:10 am Post subject: No icon Re: About Tutorial Module Reply with quote

Yeah, on my version, I did not need the ; at the end. Might of been something I re-coded in the past. I fixed my previous post so if others do this, it will not affect them.


 
Back to top
View user's profile Send private message Visit poster's website
HeadShot Domain, Been in buisness for over 10 years...
Teo
NOOB!!!
NOOB!!!







  • » Show Info «


Status: Teo is offline
Post Posted: Fri May 22, 2015 6:10 am Post subject: No icon Re: About Tutorial Module Reply with quote

ok good mate! and what about the subadd operation?


 
Back to top
View user's profile Send private message Visit poster's website
HeadShot Domain, Been in buisness for over 10 years...
[HSX]coRpSE
Top Dog
Top Dog
Nuke Dev / Coder
Nuke Dev / Coder



Clan Leader


This user has donated over $300 to the clan.

coRpSE
Currently Offline
Last Seen Online:
18 hrs, 14 mins ago

Most Played:
This week: 3.6hrs.
Total played: 1,063hrs.


  
Are you really commited?



  • » Show Info «


Status: coRpSE is offline
Post Posted: Fri May 22, 2015 9:12 pm Post subject: No icon Re: About Tutorial Module Reply with quote

I will take a look at it later. The technique will be the same as I did before more and likely.


 
Back to top
View user's profile Send private message Visit poster's website
HeadShot Domain, Been in buisness for over 10 years...
Sponsor
[HSX]coRpSE
Top Dog
Top Dog
Nuke Dev / Coder
Nuke Dev / Coder



Clan Leader


This user has donated over $300 to the clan.

coRpSE
Currently Offline
Last Seen Online:
18 hrs, 14 mins ago

Most Played:
This week: 3.6hrs.
Total played: 1,063hrs.


  
Are you really commited?



  • » Show Info «


Status: coRpSE is offline
Post Posted: Tue May 26, 2015 7:54 pm Post subject: No icon Re: About Tutorial Module Reply with quote

Okay, this one is easier.

Open: public_html/modules/Tutorials/admin/index.php

Find:
PHP:
        tutorial_form();
        echo 
"<td colspan=\"9\"><span class=\"gen\"><textarea name=\"message\" rows=\"40\" cols=\"100%\" wrap=\"virtual\" class=\"post\" onselect=\"storeCaret(this);\" onclick=\"storeCaret(this);\" onkeyup=\"storeCaret(this);\">$t_text</textarea></span></td></tr></table></span></td></tr></table>"
 


Should be on line 1492 and 1493.

Replace with:
PHP:
        echo Make_TextArea('message'$t_text'post''100%''300px'true);
        echo 
"<br>";
//        tutorial_form();
//        echo "<td colspan=\"9\"><span class=\"gen\"><textarea name=\"message\" rows=\"40\" cols=\"100%\" wrap=\"virtual\" class=\"post\" onselect=\"storeCaret(this);\" onclick=\"storeCaret(this);\" onkeyup=\"storeCaret(this);\">$t_text</textarea></span></td></tr></table></span></td></tr></table>"; 
 

Again, as you can see, I didn't remove the old code, I just canceled it out using a // infront of it. That should be it.


 
Back to top
View user's profile Send private message Visit poster's website
HeadShot Domain, Been in buisness for over 10 years...
Display posts from previous:
Post new topic   Reply to topic   printer-friendly view   Thank Post HeadShot Extreme Forum Index ->  Nuke Blocks / Modules Support All times are UTC - 7 Hours [DST enabled]
Goto page 1, 2  Next
Page 1 of 2
 


 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Related topics
 Topics   Replies   Author   Views   Last Post 
No new posts Announcement: Name Change 4 Sephiroth 2001 Wed Mar 19, 2014 3:38 pm
Spartacus1968 View latest post
No new posts user login or CP activation 7 Rips 111 Tue Jun 04, 2019 8:07 pm
Rips View latest post
No new posts Forum Usergroups - User (group) appears three times? 5 lasermail 327 Mon Sep 17, 2018 11:31 am
coRpSE View latest post
No new posts admin acp error 1 worfwarrior 419 Fri May 19, 2017 6:06 pm
coRpSE View latest post
No new posts No Option for Simple Permissions For Admin Forums 4 SSmokinJoe 708 Mon Sep 05, 2016 9:36 am
coRpSE View latest post
 




Powered By: phpBB © 2001 - 2008 phpBB Group
SimpleBlack V2 By: killigan
© DarkForge Graphics 2008 - 2009 All Rights Reserved

Googlepage: GooglePullerPage
DFG
DFG DFG DFG
Forums ©
Copyright © HeadShotDomain 2016 By: coRpSE
SimpleBlack V2 By: Killigan
Powered By: Evolution-Xtreme