Log in

View Full Version : Making the smilie page non accessable to guests?


MaDCaT75
08-30-2003, 07:31 AM
Any way to block access to the smilie page so guests cant view it? Dont want those pesky guests stealing my hard worked on smilies :p

assassingod
08-30-2003, 08:24 AM
In the FAQ or Popup?

MaDCaT75
08-30-2003, 08:51 AM
oh sorry hehe.... like say when a guest goes to http://www.sims2forums.com/misc.php?action=getsmilies& they would reach a "access denied" page instead. Like a 403 page I guess.

assassingod
08-30-2003, 08:55 AM
You might wanna fix the parse error on that page;)

insanctus
08-30-2003, 08:59 AM
In misc.php find

// ############################### Popup Smilies for vbCode ################
if ($action=="getsmilies") {

$templatesused = "vbcode_popup_smiliesbits,vbcode_popup_smilies,vbco de_popup_smiliecats";
include("./global.php");

under it add

if ($bbuserinfo[userid]==0){show_nopermission();}

MaDCaT75
08-30-2003, 09:00 AM
OoOoOOoo thanks :D

insanctus
08-30-2003, 09:02 AM
No trouble at all mad. And assassin the parse error was me I accidently put the code before the global call (yes I am tired) lmao.

assassingod
08-30-2003, 09:05 AM
Ah right, i was gonna do it but me too late:)

MaDCaT75
08-30-2003, 09:10 AM
if you still wanna help with me getting my moderator list to show up on forumhome you are welcome to try :p

insanctus
08-30-2003, 09:15 AM
Lmao mad and her endless hacks, I only fixed the one since I was in that folder at the time :)

MaDCaT75
08-30-2003, 10:27 PM
I know I'm terrible :p

insanctus
08-30-2003, 10:58 PM
That you are, then I was to back a bit ago before vb3.

Alot of them just seem cool at the time then the fun is just another novelty.

KW802
09-13-2003, 09:50 PM
Is that hack just for the direct link method (http://www.sims2forums.com/misc.php?action=getsmilies&) or should that work everywhere? If you use the jump bar to go into one of the category forums (http://www.sims2forums.com/forumdisplay.php?daysprune=&forumid=1) the smilies still show if you click on the "smilies" part in the Forum Rules part in the bottom left hand corner of the screen.

Hellcat
10-24-2003, 06:46 PM
Any way to block access to the smilie page so guests cant view it? Dont want those pesky guests stealing my hard worked on smilies :p
The sad thing is, most of your "hard worked on" smilies are done by a member of MY board and have been stealed BY YOU!

So, don't care about ppl stealing your smilies as long as everything you can do is stealing them yourself and claiming it as your work!

sabret00the
10-24-2003, 07:08 PM
:rofl: i done alot of mine, so installed this nice little add-on :)

sabret00the
11-04-2003, 07:15 PM
to have it so the other smilie page shows no permission to simply change
// ############################### start show smilies ###############################
if ($action=="showsmilies") {
$templatesused = "smiliebit,smilies";
include("./global.php");
$smiliebits="";


to
// ############################### start show smilies ###############################
if ($action=="showsmilies") {
$templatesused = "smiliebit,smilies";
include("./global.php");
if ($bbuserinfo[userid]==0){show_nopermission();}
$smiliebits="";
:)