| |
| | |

CodersClub

 Forgot password?
 Register
Search
View: 6578|Reply: 4
Collapse the left

Discuz! variables ! All here !

[Copy link]

 Palestine

Post time: 2011-12-22 14:21
| Show all posts |Read mode
Edited by khalid at 2011-12-22 13:27


when you are making style you must know this




Style variable


by Google translate ! ^_^
Soon in Arabic
$_G['style'] => Array
($_G['style'][styleid]=> current style ID
$_G['style'][name]=> current style names
$_G['style'][templateid]=> the current template system
$_G['style'][tpldir]=> current template directory
$_G['style'][menuhoverbgcolor]=> navigation menu highlighting background color
$_G['style'][lightlink]=> light color link color
$_G['style'][floatbgcolor]=> pop-up window background property
$_G['style'][dropmenubgcolor]=> the drop down menu background properties
$_G['style'][floatmaskbgcolor]=> popup window border color properties
$_G['style'][dropmenuborder]=> the dropdown menu border color
$_G['style'][specialbg]=> color area background color (post user information bar, emphasized by the required tables in first class)
$_G['style'][specialborder]=> color area border
$_G['style'][commonbg]=> general display area background color
$_G['style'][commonborder]=> common border color
$_G['style'][inputbg]=> input box background color
$_G['style'][inputborderdarkcolor]=> input box border dark
$_G['style'][headerbgcolor]=> the page header background
$_G['style'][headerborder]=> the page header height divider
$_G['style'][sidebgcolor]=> home side background
$_G['style'][msgfontsize]=> post contents font size
$_G['style'][bgcolor]=> the page background
$_G['style'][noticetext]=> message color
$_G['style'][highlightlink]=> the highlighted link color
$_G['style'][link]=> link text color
$_G['style'][lighttext]=> light color text
$_G['style'][midtext]=> secondary text color
$_G['style'][tabletext]=> normal text color
$_G['style'][smfontsize]=> small font size
$_G['style'][threadtitlefont]=> subject list font
$_G['style'][threadtitlefontsize]=> theme list font size
$_G['style'][smfont]=> small fonts
$_G['style'][titlebgcolor]=> block list title font color
$_G['style'][fontsize]=> the normal font size
$_G['style'][font]=> normal font
$_G['style'][styleimgdir]=> extended photo directory
$_G['style'][imgdir]=> interface based image catalog
$_G['style'][boardimg]=>logo path
$_G['style'][headertext]=> the page header text color
$_G['style'][footertext]=> footer text color
$_G['style'][menubgcolor]=> navigation menu background color
$_G['style'][menutext]=> navigation menu text color
$_G['style'][menuhovertext]=> highlighting navigation menu text color
$_G['style'][wrapbg]=> main table background color
$_G['style'][wrapbordercolor]=> main table border color
$_G['style'][contentwidth]=> reading area width
$_G['style'][contentseparate]=> posting interval color
$_G['style'][inputborder]=> input box border light
$_G['style'][menuhoverbgcode]=> navigation menu highlight background
$_G['style'][floatbgcode]=> pop-up window background color
$_G['style'][dropmenubgcode]=> the drop down menu background color
$_G['style'][floatmaskbgcode]=> popup window frame colors
$_G['style'][headerbgcode]=> the page header background
$_G['style'][sidebgcode]=> home sidebar background properties
$_G['style'][bgcode]=> global background properties properties
$_G['style'][titlebgcode]=> block list header background
$_G['style'][menubgcode]=> navigation menu background properties
$_G['style'][boardlogo]=>LOGO IMG code
)


 Palestine

 Author| Post time: 2011-12-22 14:25
| Show all posts
member variables!

$_G['member'][uid] => UID
$_G['member'][email]=> email address
$_G['member'][username]=> user name
$_G['member'][password]=> after MD5 passwords (and don't output!!! Remember)
$_G['member'][status]=> whether the user has been deleted
$_G['member'][emailstatus]=> mailbox authentication status 0 no authentication 1 authentication by
$_G['member'][avatarstatus]=> avatar uploading status 0 no upload 1 uploaded
$_G['member'][videophotostatus]=> 0 no authentication 1 video certification certified
$_G['member'][adminid]=> management group ID
$_G['member'][groupid]=> user group ID
$_G['member'][groupexpiry]=> validity of host users group
$_G['member'][extgroupids]=> expanded user group
$_G['member'][regdate]=> registration hours
$_G['member'][credits]=>214 an existing total points
$_G['member'][notifysound]=> short message sounds
$_G['member'][timeoffset]=> time zone
$_G['member'][newpm]=> number of new short message
$_G['member'][newprompt]=> number new reminder
$_G['member'][accessmasks]=> This access, uncertain
$_G['member'][allowadmincp]=> is permissions have Administrative Panel 0-No 1-Yes
$_G['member'][onlyacceptfriendpm]=> only accepted friends SMS 0-No 1-Yes
$_G['member'][conisbind]=> whether the binding QQ 0-No 1-Yes
$_G['member'][lastvisit]=> last accessed time
)

 Palestine

 Author| Post time: 2011-12-22 14:26
| Show all posts
soon global variables
Post time: 2011-12-22 23:49
| Show all posts
this information can be found all in $_G array, and you can access always to all information are in this array, only print_r.

i think disusing about plug-in design is more useful

 Russia

Post time: 2011-12-23 10:06
| Show all posts
i think disusing about plug-in design is more useful

Create a separate thread for plugins!
You have to log in before you can reply Login | Register

Points Rules

Archive|Mobile|Dark room|CodersClub

Top.Mail.Ru
Top.Mail.Ru

2024-05-06 19:03 GMT+3 , Processed in 0.049068 sec., 8 queries .

Powered by Discuz! X3.4 Release 20230520

© 2001-2024 Discuz! Team.

MultiLingual version, Rev. 4301, © codersclub.org

Quick Reply To Top Return to the list