Jump to content
MakeWebGames

[mccode] Cityname in Mainmenu


AlabamaHit

Recommended Posts

Ok....It honestly never crossed my mind that something so simple would be asked....But, this has been asked....So I guess, I will add it here to make is where others can use it.................????

All this does is changes in the Explore to the City Name of the sure.in the Main Menu (The menu on the left) lol........

 

OPEN:

mainmenu.php

FIND:

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

ADD AFTER:

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

NOW FIND:

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

CHANGE TO:

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Well....if ya like it...+1 me....even though I feel silly as hell posting something this simple, lol.

 

Oh yeah......YES this works on Lite, Version 1, AND Version 2

Link to comment
Share on other sites

Re: [mccode] Cityname in Mainmenu

i tend to do it a different way same result like but yeah:

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

then explore goes like this

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

this can work anywhere correct like i put mine in explore page and can have the city name show up there like ie London Gangs

lol

nice work :wink:

i have one for pics aswell which i think are posted on here lol

Link to comment
Share on other sites

Re: [mccode] Cityname in Mainmenu

You can use it how eer you want, lol.....But djkanna way is slower....and i would say yall like it better cause yall are use to seeing it...lol....BUT...the speeds wouldnt be noticable cause its such a small table....

No disrespect and not trying to start a fight on this....So please don't take it that way.

Link to comment
Share on other sites

Re: [mccode] Cityname in Mainmenu

You can use it how eer you want, lol.....But djkanna way is slower....and i would say yall like it better cause yall are use to seeing it...lol....BUT...the speeds wouldnt be noticable cause its such a small table....

No disrespect and not trying to start a fight on this....So please don't take it that way.

i use my way lol but i agree with you on the slower bit lol

Link to comment
Share on other sites

Re: [mccode] Cityname in Mainmenu

 

i would personally use

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Kyles would work but i just love sprintf lol it's more safe

Great job Alabama + 1

looks good to me. You missed a ' in the where clause :)

Also you could do mysql_query(sprintf()); imstead of setting $query twice, it probably would make it a millesecond faster lol

Link to comment
Share on other sites

Re: [mccode] Cityname in Mainmenu

 

i would personally use

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Kyles would work but i just love sprintf lol it's more safe

Great job Alabama + 1

looks good to me. You missed a ' in the where clause :)

Also you could do mysql_query(sprintf()); imstead of setting $query twice, it probably would make it a millesecond faster lol

m sorry i may be wrong but i see no missing ' lol

and i prefer it this way makes it look pretty lol

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...