vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Mini Mods - Users posts (https://vborg.vbsupport.ru/showthread.php?t=133636)

Cercle 12-14-2009 02:33 PM

Sorry Lynne. I´m not a coder and my knowledge is very limited.

I have created an activated the plugin with the short code (Hook location: Ajax_start)

I have created a php file with the large code and renamed it as usermess.php in the modcp directory.

Which permissions do you mean?

Thank you in advance.

Lynne 12-14-2009 03:37 PM

Quote:

Originally Posted by Cercle (Post 1930517)
I have created an activated the plugin with the short code (Hook location: Ajax_start)

This is what is in the first post regarding the plugin:
Quote:

Module to create using "mod_index_navigation" hook (choose a name you like for this module) :
He says to use the mod_index_navigation hook, not the ajax_start hook.

Cercle 12-14-2009 03:51 PM

Quote:

Originally Posted by Lynne (Post 1930549)
This is what is in the first post regarding the plugin:

He says to use the mod_index_navigation hook, not the ajax_start hook.

Ok. Now it?s changed., sorry for this mistake. I have have re-uploaded in ASCii mode de files and I can see now on de mocp:

Menu title
Number of messages.

But clicking on Number of messages, I?m getting the error 404 The requested URL /forum/modcp/usermess.php was not found on this server.


What am I doing wrong?.

Thank you

Lynne 12-14-2009 03:55 PM

Quote:

Originally Posted by Cercle (Post 1930564)
But clicking on Number of messages, I?m getting the error 404 The requested URL /forum/modcp/usermess.php was not found on this server.


What am I doing wrong?.

Thank you

If you ftp to your site and go to /forum/modcp, is there a usermess.php file in there?

Cercle 12-14-2009 03:59 PM

Quote:

Originally Posted by Lynne (Post 1930569)
If you ftp to your site and go to /forum/modcp, is there a usermess.php file in there?

Yes.

I have created this file because it?s wasn?t there, renamed it from txt to .php, the entire code copy and paste and then uploaded to forum/modcp.

Lynne 12-14-2009 04:23 PM

Quote:

Originally Posted by Cercle (Post 1930576)
Yes.

I have created this file because it?s wasn?t there, renamed it from txt to .php, the entire code copy and paste and then uploaded to forum/modcp.

Check the permissions on it and chmod to 644 (I don't know your ftp client, so you'll have to figure out how to do that yourself).

As a side comment, I just looked in my files and I have this in my admin cp folder. I'm not sure if I just modified the mod, or what, but mine is there, the mod points to it there, and it works just fine.

Cercle 12-14-2009 05:17 PM

By clicking in properties I´m getting the code 644, then I think that this is correct.

How can I check these permisions on?

Thank you for your help.

Cercle 12-14-2009 06:50 PM

Maybe I do something wrong.

To make a php file what I did is:

txt file with the code and rename the .txt to .php extension (final name: usermess.php), then uploaded it via ftp to forum/modcp/usermess.php

I hope that this is the correct way.

I?m the all day trying to solve this problem with no solution at the moment. I?m really fustrated :(

Lynne 12-14-2009 06:52 PM

If the permissions are correct on the file and the file is in the correct place and you created the plugin using the correct hook and it is active, then I don't know what the problem is. I suppose you can check your error_logs (if you don't know where they are, ask your host) and see if anything is in there.

As for creating a file.... I just create a file and when I go to save it, I save it as name.php. I don't save it as a text file and then rename it. That could be your problem - I really don't know.

Cercle 12-14-2009 06:57 PM

Quote:

Originally Posted by Lynne (Post 1930697)
If the permissions are correct on the file and the file is in the correct place and you created the plugin using the correct hook and it is active, then I don't know what the problem is. I suppose you can check your error_logs (if you don't know where they are, ask your host) and see if anything is in there.

As for creating a file.... I just create a file and when I go to save it, I save it as name.php. I don't save it as a text file and then rename it. That could be your problem - I really don't know.

Ok, thank you very much Lynne. One more question only.

How do you create a file then? which program do you use?

I copy the code...but where if not in a txt?


All times are GMT. The time now is 08:24 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01304 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete