[ABD] F2I in Topic Mouseover v.0.0.2

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] F2I in Topic Mouseover v.0.0.1

Post by 4_seven »

4seven wrote:final touch pics from beta-test-laboratory.

splitting modules again. increase usability, options and possibilities

control center switch and view
http://www.4seven.de/nearer_again/contr ... switch.jpg
http://www.4seven.de/nearer_again/contr ... r_view.png

make thumb switch and view
http://www.4seven.de/nearer_again/make_ ... switch.jpg
http://www.4seven.de/nearer_again/make_thumbs_view.png

delete thumb switch and view
http://www.4seven.de/nearer_again/delet ... switch.jpg
http://www.4seven.de/nearer_again/delet ... s_view.png

thumb check page switch and view
http://www.4seven.de/nearer_again/thumb ... switch.jpg
http://www.4seven.de/nearer_again/thumb ... e_view.png

remove thumbing action on this site*
instead with check options and possability to delete single and multiple images
- update of
thumb check page switch and view
main-screen

- *also new single/multi delete/thumb for 'thumb check page'

- current dev-video of modules
http://www.4seven.de/nearer_again/mouse1.htm

the look of live-acp and viewforum is now rc and have 1-2 further beta-tester weeks.
after some more checks the public version should release.

i be pleased about the matured usability for modes "thumb, delete and check" trough various ways.
Current Mods | Mod Base | php(BB) programming | No help via PM
WascallyWabbit
Registered User
Posts: 170
Joined: Sun Mar 16, 2008 1:17 pm
Contact:

Re: [DEV] F2I in Topic Mouseover v.0.0.1

Post by WascallyWabbit »

Any chance of getting this to display in the search results like with "First_Topic_[pic]_on_Forum_Index"?
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] F2I in Topic Mouseover v.0.0.1

Post by 4_seven »

this mod is more representative to view as to search, so i actually will not implement it in search.
if in future more people request that, then may in a later version.
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] F2I in Topic Mouseover v.0.0.2

Post by 4_seven »

v.0.0.2 released..
first post wrote:Additional Features in v.0.0.2:
- Full Redesign of Mod (code/optic)
- Admin only Open-ACP-Modules
- Many possibility of thumbing: Single, per Site, per Forum with Topic Deep option etc.
- Check Page to thumb, view, check, delete single/multi thumbs
- Increase performance and control by removing auto-thumb mode from v.0.0.1
- Beta Integration of F2A in Topic Mouseover v.0.0.1.a
..see first post for further details, full feature list, screens, video

Update-Instruction
- Reverse all edits from v.0.0.1
- Remove all files from v.0.0.1
- Delete thumb-folder of v.0.0.1
- Install v.0.0.2
Current Mods | Mod Base | php(BB) programming | No help via PM
baller1234
Registered User
Posts: 129
Joined: Sat May 29, 2010 9:43 am

Re: [DEV] F2I in Topic Mouseover v.0.0.2

Post by baller1234 »

good mod for sure!!

I was wondering if you had time to implement thumbs in the search results.. Or maby release some small code for me that i can install. It would be awesome. The reason i ask is that My members are complaining about the missing function..

Thanx in advance!
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] F2I in Topic Mouseover v.0.0.2

Post by 4_seven »

comes in v.0.0.3 or in a later release bcs. it is more complex than in other mods i made with search display eg. First Topic [pic] on Forum Index
Current Mods | Mod Base | php(BB) programming | No help via PM
baller1234
Registered User
Posts: 129
Joined: Sat May 29, 2010 9:43 am

Re: [DEV] F2I in Topic Mouseover v.0.0.2

Post by baller1234 »

hey 4_seven,

How is this mod going? Any luck with auto thumbing when submitting a topic?

Also, Do you have a quick fix so that moderators can also create thumbs? (or that i can define a group id that can thumb) Its time consuming if i have to do this for 30 forums :D

Thanx in advance!
baller1234
Registered User
Posts: 129
Joined: Sat May 29, 2010 9:43 am

Re: [DEV] F2I in Topic Mouseover v.0.0.2

Post by baller1234 »

I found a way to show the menu to admin and moderators..

add in the php files:

Code: Select all

if ($auth->acl_get('a_') || $auth->acl_get('m_',) && !empty($user->data['is_registered'])){
and in the template files add

Code: Select all

<!-- IF U_ACP or U_MCP-->
But, when i click on thumb forum i get a empty page.. Do you know what i forget?
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] F2I in Topic Mouseover v.0.0.2

Post by 4_seven »

no clue. the standard way the mod works, it works perfect.
Current Mods | Mod Base | php(BB) programming | No help via PM
baller1234
Registered User
Posts: 129
Joined: Sat May 29, 2010 9:43 am

Re: [DEV] F2I in Topic Mouseover v.0.0.2

Post by baller1234 »

lol. thats not really helpfull :D :lol:

Can you please tell me what i should change to get it working for moderators?
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] F2I in Topic Mouseover v.0.0.2

Post by 4_seven »

you must search in all mod relevant files and edits for this

Code: Select all

$auth->acl_get('a_')

Code: Select all

U_ACP
and expand it in the way you wrote.

also note, that you must be a full (global) moderator than, bcs. it gives other

Code: Select all

$auth->acl_get('m***')
for not full moderators
Current Mods | Mod Base | php(BB) programming | No help via PM
baller1234
Registered User
Posts: 129
Joined: Sat May 29, 2010 9:43 am

Re: [DEV] F2I in Topic Mouseover v.0.0.2

Post by baller1234 »

thanks man.. ill try it :-)
baller1234
Registered User
Posts: 129
Joined: Sat May 29, 2010 9:43 am

Re: [DEV] F2I in Topic Mouseover v.0.0.2

Post by baller1234 »

ok.. it works.. moderators can thumb now.. Only they still get a blank page when they choose an option..
config or thumbing...

any ideas?
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] F2I in Topic Mouseover v.0.0.2

Post by 4_seven »

no. if you do it consequent an all places, the mod acting, it must work.
otherwise something is wired or wrong.
If it works for you as admin, check explicite the acl m_** rights.
Also note, that U_MCP may works only for full (global) moderators,
so you must first make another global U_*** or S_HALF_MOD Variable
for none-full moderators (acl m_**) in functions.php.
Current Mods | Mod Base | php(BB) programming | No help via PM
baller1234
Registered User
Posts: 129
Joined: Sat May 29, 2010 9:43 am

Re: [DEV] F2I in Topic Mouseover v.0.0.2

Post by baller1234 »

i fixed it..For ppl that are interested here you go:

Find in /root/includes/functions.php:

Code: Select all

	$template->assign_vars(array(
		'DEBUG_OUTPUT'			=> (defined('DEBUG')) ? $debug_output : '',
		'TRANSLATION_INFO'		=> (!empty($user->lang['TRANSLATION_INFO'])) ? $user->lang['TRANSLATION_INFO'] : '',
Add After:

Code: Select all

		'U_MCP1' => ($auth->acl_get('m_')) ? true : false,
Then find in all php files root/f2i/*.php :

Code: Select all

if ($auth->acl_get('a_') && !empty($user->data['is_registered'])){
and replace it with:

Code: Select all

if ($auth->acl_get('a_') || $auth->acl_get('m_') && !empty($user->data['is_registered'])){
ps. dont replace it in f2i_control.php and f2i_delete.php if you dont want that moderators can adjust the config or delete all thumbs.

then in the template files root/styles/style/template/f2i*.html

replace

Code: Select all

<!-- IF U_ACP -->
with

Code: Select all

<!-- IF U_ACP or U_MCP1 -->
Open root/styles/style/template/viewforum_body.html
then search for the old code of this mod and replace it with this:

Code: Select all

<!-- IF S_SHOW_I_IN_FORUM_ID and (U_ACP or U_MCP1) and not S_HAS_SUBFORUM --> 
<script type="text/javascript">
// <![CDATA[
window.onload = function(){ 
document.getElementById("formid").reset(); 
}
// ]]>
</script>
<div style="padding-bottom:4px;font-size:10px;">      
<form id="formid" action="thumb">
<div><input type="hidden" name="thumb" value="thumb" /></div>
<div><input type="hidden" name="control" value="control" /></div>
   <fieldset>
      <select style="font-size:11px;" onchange="document.location=this.value;return false;">
          <option value="" selected="selected">F2I Options</option>
         <option value="{U_THUMB_M_LINK}"><!-- IF S_MOUSE_M_I -->{L_F2I_THUMB_THIS1}<!-- ELSE -->{L_F2I_THUMB_THIS2}<!-- ENDIF --></option>
         <option value="{U_CONTROL_M_LINK}">{L_F2I_GOTO_CONTROL}</option>
         <option value="{U_M_DEL_TOP}">{L_F2I_DEL_THUMBS}</option>
      </select>
   </fieldset>
</form>   
</div>
<!-- ELSEIF (U_MCP1 or U_ACP) and not S_HAS_SUBFORUM -->
<div style="padding-bottom:4px;font-size:10px;">   
[&nbsp;<a href="{U_CONTROL_M_LINK}" onclick="document.location='{U_CONTROL_M_LINK}';return false;">{L_F2I} - {L_F2I_GOTO_CONTROL}</a>&nbsp;]
</div>
<!-- ENDIF -->
Last edited by baller1234 on Sun Jun 26, 2011 8:50 am, edited 4 times in total.
Locked

Return to “[3.0.x] Abandoned MODs”