Customizing SMF > SMF Coding Discussion
Wheres the function?
MLM:
Here is a list of pages I just can nto find a function for even with the "$db_show_debug = true;" trick
Can I add it to a template somehow?
--- Code: ---?action=admin;area=viewmembers;sa=all;
?action=admin;area=ban;sa=list;
?action=admin;area=ban;sa=browse;
?action=admin;area=ban;sa=log;
?action=admin;area=paidsubscribe;
?action=admin;area=scheduledtasks;sa=tasklog;
?action=admin;area=logs;sa=adminlog;
?action=admin;area=logs;sa=modlog;
?action=admin;area=logs;sa=banlog;
?action=admin;area=logs;sa=tasklog;
?action=moderate;area=warnings;sa=log;
?action=moderate;area=userwatch;sa=member;
?action=moderate;area=userwatch;sa=post;
?action=moderate;area=groups;sa=requests;
?action=moderate;area=viewgroups;
?action=profile;area=tracking;sa=edits;
--- End code ---
Jokerâ„¢:
Try this tool to find such strings - Fileseek, you can use search function in Notepad++ to search for text strings in multiple files.
Also for e.g, your first link
--- Code: ---?action=admin;area=viewmembers;sa=all;
--- End code ---
While searching it try it as
--- Code: ---?action=admin;area=viewmembers;sa=all
--- End code ---
(without semi colon at the end)
MLM:
Where am I searching this stuff. In the respective template files?
Also i realize that most of those functions rely on common function like generic list and show_list but i need add stuff around them.
Arantor:
It would probably help if we knew what you were trying to achieve.
MLM:
Without trying to give away to much of my secret new theme...
I want to put a div around the content without editing the templates used on many pages such as show_list
sample ex.
Navigation
[0] Message Index
[#] Next page
Go to full version